Real World ZIO
summary
Builds a concurrent, lock‑free elevator controller for H&A Hotel using ZIO and shows it actually works in simulation: n elevators, infinite pickup queue, step every two seconds, and a dispatcher that assigns the best elevator. Uses Promise, Ref, Queue, ZIO for async state and scheduling, and solves races with STM retry (TRef transactions that wait and commit atomically). Demo runs movers and request handlers in parallel fibers and services requests without deadlocks or lost updates.
AI-written summary · about
chapters (4)
related talks
45mZIO: Next-Generation Effects in Scala
01h 10mDeclarative Concurrency With ZIO STM
52mComparing Approaches to Structured Concurrency
55mUnwrapping IO: is it a path that you want to follow?
29mEnhancing Spark's Power with ZIO
52mRock Solid Haskell Services (Part 2)
40mTaming Spark with ZIO
43mRock Solid Haskell Services (Part 5)
