~/talk

Clojure Parallelism Beyond Futures

Talkat Clojure/West 2015 · 2015-04-20..04-22· [concurrency, functional-programming]
links:none on file
slides:none on file

Explains how Clojure futures and pmap actually work: futures use the shared agent thread pool (idle threads evaporate after 60s) and pmap launches roughly #CPUs + 3 tasks and is lazy so a slow first task can stall the pipeline. Introduces claypoole (author’s library) with fixed thread pools, eager streaming sequences, unordered results, correct exception rethrowing, and task priorities; example shows claypoole keeps per-task latency near 5.6 ms versus pmap’s ~7.7 ms in a variable-sleep benchmark.

AI-written summary · about

  1. 0:00Start
  2. 5:51THREADS
  3. 8:12THREAD POOL
  4. 12:44PMAP
  5. 18:42CORE.ASYNC
  6. 22:02CLAYPOOLE
  7. 29:34SUMMARY
~/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.