~/talk

Concurrency For Humans

Talkat Joker 2017 · 2017-11-03..11-04· [concurrency]
links:none on file
slides:none on file

Advocates thinking in tasks not threads: use ExecutorServices (cached vs fixed), prefer invokeAll/invokeAny for batches, and avoid creating millions of OS threads. Demonstrates CompletableFuture pipelines and async supplyAsync but warns CompletableFuture cancellation doesn't propagate to tasks (executor futures cancel via interrupt). Shows parallel streams work only on splittable, substantial in-memory data. Benchmarks: counting "String" in JDK sources ≈83,000 occurrences takes ~40s; prime check from 1,000,000,000 to +5,000,000 finds ~241,000 primes (seq 32s, parallel 24s).

AI-written summary · about

  1. 0:00Introduction to Java concurrency
  2. 4:47Old-school concurrency problems
  3. 11:33Futures and executors
  4. 18:20Blocking and async APIs
  5. 25:49Completable futures explained
  6. 33:11Parallel streams pitfalls
  7. 41:30Thread safety and confinement
  8. 51:55Future of Java concurrency
  9. 57:08Summary and recommendations
~/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.