~/talk

More Action, More Overview – From 4k to 1M Threads

Talkat Jfokus 2026 · 2026-02-02..02-04· [java, concurrency]
slides:none on file

Claims that Java 21 virtual threads let a process spawn ~1,000,000 threads (1KB each vs 1MB for platform threads), creating them in microseconds and running I/O-bound work massively parallel; demos convert an executor to a virtual-thread-per-task executor and show a million-blocked tasks finishing far faster. Shows a rule engine that executes 100,000 business rules in parallel, uses scope values (Java 25) instead of ThreadLocal, applies structured concurrency for error handling, and provides OpenRewrite recipes plus a GitHub GIST for reproduction.

AI-written summary · about

  1. 0:00Introduction
  2. 1:50Traditional thread limits problem
  3. 3:16Thread management basics
  4. 4:42Demo introduction
  5. 8:37Virtual threads advantages
  6. 14:09When to use virtual threads
  7. 16:19Scope values for thread-safe context
  8. 23:01Structured concurrency
  9. 29:04Error handling improvements
  10. 29:25Live demos: 1M threads
  11. 34:02Scope values API examples
  12. 38:40Combining virtual threads benefits
  13. 39:22Migration strategies
  14. 43:04Best practices
  15. 46:34Q&A
~/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.