~/talk

Modern JVM Multithreading

Talkat Devoxx Poland 2021 · 2021-08-25..08-27· [java, concurrency]
links:none on file
slides:none on file

Explains concrete tradeoffs and tools: Project Loom brings virtual threads so blocking calls become non-blocking at the VM level, libraries like Monix and cats‑effect already give fiber-based nonblocking primitives and async stack traces, and skunk implements the PostgreSQL protocol for 100% nonblocking DB notifications. Gives numbers: JVM thread ≈ 1 MB each, example of 1 million green threads on 10 JVM threads, recommends three pools (CPU ≈ CPU cores, blocking use cached/unbounded with semaphore limits, nonblocking 1–2 threads). Mentions r2dbc and IO ring as ecosystem directions.

AI-written summary · about

  1. 0:00Introduction
  2. 2:00JVM threading architecture
  3. 5:24Understanding green threads
  4. 9:13Project Loom introduction
  5. 13:08Non-blocking primitives
  6. 18:21Non-blocking I/O concepts
  7. 22:45Database communications
  8. 29:16Reactive database example
  9. 34:14JVM thread pool strategies
  10. 43:27Asynchronous stacktraces
~/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.