~/talk

FIBER SUPERVISION IN ZIO

Talkat Scalar 2020 · on Friday, 2020-05-15· [concurrency, scala]
links:none on file
slides:none on file

ZIO provides lightweight tens of thousands of fibers running on a small thread pool and concrete operations: fork, join, interrupt, ensuring, bracket, race/raceAll and zip, plus STM, refs and promises. The concrete claim is that hierarchical fiber supervision restores fork/join identity and prevents resource leaks; prior approaches (transplantation in RC17) introduces races, while RC18 forced child interruption (safer but breaks identity). Upcoming work adds explicit scopes to get both safety and correct lifetimes. Use high‑level combinators ~90% of the time.

AI-written summary · about

  1. 0:00Intro
  2. 2:40How to run an effect?
  3. 4:00ZIO Fibers
  4. 5:37Forking Fibers
  5. 6:23Implementation
  6. 8:44Joining Fibers
  7. 12:09Interrupting Fibers
  8. 13:17Finalizers
  9. 15:05Interruptibility
  10. 17:20Fiber supervision
  11. 19:00Unsupervised Fibers
  12. 22:05Fork Join Identity
  13. 25:19Daemon Fibers
  14. 26:57Normal Termination
  15. 28:25Release Candidate 17
  16. 30:25Explicit Scopes
  17. 31:05Implications
  18. 32:24Fiber Club THE FIRST RULE OF FIBER CLUB
  19. 33:35Common Concurrency Combinators in ZIO
  20. 34:31Racing effects
  21. 35:48Parallel computation
  22. 36:48Using Resources
  23. 38:52Controlling thread pools
  24. 40:58Summary
  25. 42:21zio documentation
~/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.