Home Conference Sessions REST no more - U...

REST no more - Using Actors for the Internet of (LEGO) Trains & Raspberry Pis

Johan Janssen | GOTO Amsterdam 2017

You need to be signed in to add a collection

Two years ago we started a new Internet of Things project: The Internet of (Lego) Trains. We wanted to figure out if we could use Java/Scala to build software for IoT hardware like the Raspberry Pi. The Lego trains are equipped with a Raspberry Pi, camera, wireless dongle, infrared transmitter, speaker, RFID reader and battery pack. Next to that we have automated switch tracks and cameras again with the help of Raspberry Pis. To control the trains and other parts we built an actor based application with Scala, Akka, Akka HTTP and AngularJS. The session will cover when and how to use Akka HTTP and remote actors to create a new generation of applications. The results of the performance tests we did to compare the two options will be shown as well. A live demo with Lego trains and a ferris wheel is also included. **Prerequisite attendee experience level**: beginner

Share on:
linkedin facebook
Copied!

Transcript

Two years ago we started a new Internet of Things project: The Internet of (Lego) Trains. We wanted to figure out if we could use Java/Scala to build software for IoT hardware like the Raspberry Pi.

The Lego trains are equipped with a Raspberry Pi, camera, wireless dongle, infrared transmitter, speaker, RFID reader and battery pack. Next to that we have automated switch tracks and cameras again with the help of Raspberry Pis. To control the trains and other parts we built an actor based application with Scala, Akka, Akka HTTP and AngularJS.

The session will cover when and how to use Akka HTTP and remote actors to create a new generation of applications. The results of the performance tests we did to compare the two options will be shown as well. A live demo with Lego trains and a ferris wheel is also included.

Prerequisite attendee experience level: beginner

About the speakers

Johan Janssen

Johan Janssen

Software Architect at ASML