Zio Actors
summary
ZIO-Actors is a small, strongly typed actor library built on ZIO that produces an ActorSystem as a Task and spawns actors with unique names and typed state/command/response signatures. It implements supervision via ZIO Schedules (examples include exponential retry up to 10), guarantees per-pair message ordering, offers remoting over hostname/port using Java NIO selectors, and uses Java serialization initially while moving toward a ZIO serialization solution. Persistence exists as a first iteration with persistence with Postgres via Doobie and in-memory backends (no snapshotting yet). Examples include a persistent counter and an FSM that fails to trigger recovery.
AI-written summary · about
chapters (14)
- 0:00Introduction
- 1:12Actor Model
- 3:29akka
- 9:41Actors as counters
- 11:55Finite State Machine
- 16:38Remoting
- 18:13Persistence
- 22:27Problems
- 23:02Serialization
- 25:39Socket Handling
- 26:50Goals
- 28:44Thank you
- 29:27Zoom webinar
- 33:57delivery guarantees
related talks
33mThe Actor Model, Behind the Scenes
32mAdopting Actors... an epic tale of loss and learning
50mThe Zen of Akka
48mThe Zen of Akka
38mReliable Messaging in the World of Actors
44mFrom Functional to Reactive - Patterns in Domain Modeling
52mBuilding Reactive Apps
42mUsing Actors for the Internet of (Lego) Trains
