NGC-0447 Using actors for The Internet of (Lego) Trains | Devoxx

Using actors for The Internet of (Lego) Trains

Conference

lang Programming languages

Room 3 (Sabre)

Thursday from 09:00 til 09:50

Last year we started a new Internet of Things project: The Internet of (Lego) Trains. We wanted to figure out if we could use the same languages and tools we used on servers on IoT hardware.

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 camera's again with the help of Raspberry Pi's. 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 is of course included.

Johan Janssen Johan Janssen

Johan is working as a Java architect, trainer and competence center Java lead at Info Support. He has been working for various demanding companies where rapidly delivering quality software was very important. He likes sharing his knowledge about Java, continuous delivery, DevOps, IoT, software quality and numerous other subjects. Johan regularly writes articles and gives presentations about those subject for instance at JavaOne, Devoxx BE/UK, J-Fall, Jfokus, JAX, various Voxxed events, JavaLand, Scala Days Berlin/New York, GeeCON, JBCNConf, Java Forum Nord, Coding Serbia, Javantura, JavaCro and ConFESS.