Akka Cluster and Akka Typed Deep Dive
summary
Four incremental Java projects run real Akka clusters you can clone and run: lightweight demos boot nine JVM nodes (default nine JVM nodes) with a p5.js dashboard, show receptionist-based discovery, scheduled ping/pong across nodes, and a proxy to a cluster singleton so routing stays location-transparent. The climax is cluster sharding and a Kubernetes deployment that hosts simulations with persistence (Postgres) and projections—one demo drives up to 250,000 entity actors and can create 4,000 devices in a single action.
AI-written summary · about
chapters (15)
- 0:00Introduction and welcome
- 1:56What is an actor model
- 8:11Demo project setup
- 11:03Starting and visualizing a cluster
- 17:07Code deep dive into Akka Cluster
- 21:39HTTP server and cluster listener
- 22:44Cluster-aware actors and ping-pong
- 29:47Cluster singleton explained
- 33:43Cluster sharding visualization
- 39:01Cluster sharding implementation
- 41:34Bonus demos in Kubernetes
- 42:59IoT simulation with 250k actors
- 47:34Actor hierarchy and scaling
- 50:01Akka components and serverless
- 51:04Q&A and closing
