~/talk

Real World ZIO

Talkat LambdaConf 2019 · 2019-06-05..06-07· [machine-learning]
slides:none on file

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

  1. 0:00Start
  2. 4:53Functional Programming Approach
  3. 11:07State Data Type
  4. 15:56Elevator System
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.