~/talk

Comparing Approaches to Structured Concurrency

Talkat LambdaConf 2024 · 2024-05-04..05-10· [machine-learning]
links:none on file
slides:none on file

Compares concrete implementations: Scala (ZIO, Ox, Kio), Java Loom, Rust Tokio and more by running an easy-racer server (ZIO + GraalVM) and client scenarios. Shows the actual claim that a race’s winner must succeed across ZIO/Kio/loom/Tokio, measures a surprising 10,000 concurrent requests case, proves timeouts, hedging and resource finalizers behave end-to-end, and notes Rust needs ulimit raised and some Python clients fail. Demonstrations compile and run; differences are about ergonomics and scheduler semantics, not magic.

AI-written summary · about

  1. 0:00Structured concurrency intro
  2. 1:29What makes concurrency structured
  3. 3:34Resource management
  4. 4:58Timeouts and errors
  5. 6:23Easy Racer benchmark
  6. 8:09Five language overview
  7. 10:15Racing two requests
  8. 14:08ZIO implementation
  9. 15:10Java Loom Ox
  10. 17:18Kio algebraic effects
  11. 19:20Java Loom direct
  12. 21:08Rust Tokio
  13. 24:39Handling failures
  14. 27:29Racing 10k requests
  15. 34:12Implementing timeouts
  16. 38:29Filtering success
  17. 40:59Racing three requests
  18. 42:01Hedging requests
  19. 45:13Resource cleanup
  20. 47:18Many-to-many execution
  21. 48:00Canceling CPU tasks
  22. 48:43Scheduler considerations
  23. 50:30Abstraction trade-offs
  24. 51:12Composability outlook
  25. 51:32Q&A
~/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.