When and how to use the actor model: An introduction to Akka.NET actors
summary
Shows Akka.NET used to partition a 500 MB/s event firehose across ~30M users/day by giving each entity its own actor, implemented by porting Akka to C#. Demonstrates a fulfillment system using one order actor per Stripe intent, akka.cluster sharding for global uniqueness and migration, and azure table storage via akka.persistence for recovery. Reports performance on old VMs of 4.5M msgs/sec per core (5.6M on a Ryzen) and notes trade-offs versus TPL: stronger state/availability guarantees at the cost of conceptual overhead.
AI-written summary · about
chapters (13)
- 0:00Introduction and speaker background
- 3:23What is the actor model
- 9:00History of the actor model
- 16:32Benefits of the actor model
- 24:40Actor fault isolation
- 28:14Actor model scaling and distribution
- 31:03Akka.NET vs TPL
- 33:28Business domains for actors
- 38:46Akka.NET framework overview
- 41:15Basic Akka.NET actor example
- 56:36Real-world Akka.NET use case
- 1:06:43Business cases for Akka.NET
- 1:11:16Summary and Q&A
