REST no more - Using Actors for the Internet of LEGO...
summary
A Scala + Akka system runs on Raspberry Pis to control LEGO trains, switches and a ferris wheel using Scala + Akka remote actors over TCP, infrared transmitters, RFID detectors, cameras and particle photons. Gatling tests compare Akka remote actors, Akka HTTP and Spring Boot and show remote actors give much lower mean latency and far more stable max latency; a student reproducer finds Akka handles about 5× the load of Spring in a simple setup. The demo hardware mostly works but cameras and cheap USB Wi‑Fi dongles cause practical limits.
AI-written summary · about
chapters (13)
- 0:00Introduction and motivation
- 1:54Why LEGO for software demos
- 4:22Hardware setup and components
- 9:03LEGO train automation demo
- 12:37Rebuilding with Scala and Akka
- 20:03Basics of Akka actors
- 21:26Remote actors over network
- 23:32Performance comparison Akka vs REST
- 27:55Challenges and lessons learned
- 30:02Open-source Spring Boot setup
- 32:12Controlling a LEGO car demo
- 34:45Conclusion and key takeaways
- 37:17Q&A session
related talks
40mREST No More, Use an Actor
22mAdvanced Akka features
01h 32mFrom Spring + Java to Spring + Akka - A Journey of Discovery
32mAdopting Actors... an epic tale of loss and learning
41mHands on Introduction to Distributed Systems Concepts with Akka Clustering
51mBuilding concurrent systems using Akka.NET
45mSo you want to be an actor? Lessons from implementing the actor model
50mNext Generation Actors With Akka
