~/talk

REST no more - Using Actors for the Internet of LEGO...

Talkat Codemotion Amsterdam 2018 · 2018-05-08..05-09· [scala, distributed-systems]
slides:none on file

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

  1. 0:00Introduction and motivation
  2. 1:54Why LEGO for software demos
  3. 4:22Hardware setup and components
  4. 9:03LEGO train automation demo
  5. 12:37Rebuilding with Scala and Akka
  6. 20:03Basics of Akka actors
  7. 21:26Remote actors over network
  8. 23:32Performance comparison Akka vs REST
  9. 27:55Challenges and lessons learned
  10. 30:02Open-source Spring Boot setup
  11. 32:12Controlling a LEGO car demo
  12. 34:45Conclusion and key takeaways
  13. 37:17Q&A session
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.