~/talk

Composing Schedulers using Effect Handlers

Talkat OCaml 2022 · on Friday, 2022-09-16· [concurrency]
linkedin:deepali-ande
slides:none on file

Claims a concrete interface that makes different OCaml 5 effect-based schedulers interoperate: a suspend effect that captures a task continuation and a resume enqueues to target scheduler implementation, plus scheduler-agnostic sync primitives (implemented as ember.take/put on a shared mvar-like queue). Prototype uses Eio and domains (domain workers run parallel Fibonacci-45 per request), an HTTP server benchmark on a 4-core machine shows higher throughput as domains increase (with higher latencies). Notes cancellation and thread-safety as ongoing work.

AI-written summary · about

  1. 0:00Effect handlers in OCaml 5
  2. 1:26Eio vs Domain.Sys schedulers
  3. 2:27Blocking in Eio scheduler
  4. 3:32Parallelism with Domain.Sys
  5. 4:59Unified scheduler interface
  6. 6:06Emba channels solution
  7. 9:02HTTP server benchmark
  8. 9:45Other languages' approaches
  9. 10:50Future scope
~/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.