~/talk

Concurrency Options on the JVM

Talkat Strange Loop 2014 · 2014-09-17..09-19· [devops-and-delivery]
slides:none on file

Contains concrete details: which thread pools (single, cached, fixed, ForkJoinPool), how to set keepAlive and daemon threads, when to call shutdown and awaitTermination, and the danger of pool-induced deadlock when a bounded pool blocks on work that needs the pool. Covers Executors.newCachedThreadPool/newFixedThreadPool, ForkJoin common pool behavior, Scala akka actors, Clojure core.async, Futures vs CompletableFuture, jstack for diagnostics, and always use timeouts.

AI-written summary · about

  1. 0:00Introduction to concurrency
  2. 4:48Managing thread resources
  3. 6:58Proper shutdown procedures
  4. 10:11The Actor model abstraction
  5. 11:51Agent-based concurrency
  6. 13:44Channels and streams
  7. 15:09Future abstractions
  8. 17:55Completable Futures
  9. 21:25Deadlock and pool sizing
  10. 25:27Thread pool configuration
  11. 30:30Fork-Join pools
  12. 33:13Handling failures and debugging
  13. 37:33Concurrency best practices
~/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.