~/talk

The Case For Effect Systems

Talkat Scala Love 2022 · on Friday, 2022-02-18· [scala, software-architecture]
slides:none on file

Argues that effect systems (Cats Effect, ZIO, Tokio) turn async I/O into a composable runtime that solves scarce-resource problems: threads are limited (single‑digit vCPUs, examples of 15–20s GC pauses at ~8–9k threads), services need ~500 concurrent connections for 10k RPS with 50ms SLAs, and Cats Effect’s work-stealing fiber runtime drops page faults and shows 10–100× lower scheduler overhead versus hand‑rolled patterns. Shows cancellation, deterministic control flow, reliable resource cleanup, fast test control, cooperative timers, and back pressure by default that survives a 1M→100M RPS spike.

AI-written summary · about

  1. 0:00Introduction
  2. 2:50Scale
  3. 4:22Threads
  4. 6:35Physical Threads
  5. 14:39MN Scheduler
  6. 16:17Asynchronous Programming
  7. 18:29Event loops
  8. 20:00CPS transformation
  9. 25:49Future
  10. 29:30Control Flow
  11. 41:01Refactoring
  12. 47:01Resource Separation
  13. 49:36Resource
  14. 51:36Maintainability
  15. 56:11Effect Systems
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.