Akka Typed: so strong typing doesn't remain dead letter
summary
Akka Typed brings static typing to Akka actors so messages and replies are concrete types (avoiding ClassCastException and use of Any/Unit). The talk shows concrete migration steps from Akka 2.4 to 2.5, demonstrates a counter actor with immutable state using Behavior composition, timers, the receptionist, persistence and an event-sourced update loop, and exercises it by sending 1,000 random up/down commands to verify min/max; it also describes the replyTo request pattern and reports ~85–90% adoption in production migrations.
AI-written summary · about
chapters (11)
- 0:00Introduction
- 1:11Untyped actors problems
- 7:13Akka Typed overview
- 15:25Typed behaviors
- 23:34Typed actor demo
- 31:30State machines and composition
- 36:45Supervision and behaviors
- 37:48Typed and Classic interop
- 40:15Typed actor persistence
- 41:38Testing typed actors
- 42:40Conclusion
related talks
42mNext generation message driven systems with Akka
42mFarewell Any - Unit, welcome Akka Typed!
37mAkka Present and Future
48mThe Zen of Akka
50mThe Zen of Akka
51mUp up and Out: Scaling Software with Akka
32mAdopting Actors... an epic tale of loss and learning
40mTop Mistakes When Writing Reactive Applications
