~/talk

Virtual Threads in Action!

links:none on file
slides:none on file

Helidon Níma is a new web server built for JVM virtual threads (Project Loom / JDK19+ preview, aiming JDK21), using ForkJoinPool/newVirtualThreadPerTask to run one virtual thread per HTTP/1 request and one per connection/stream for HTTP/2. Measured results show doubled performance versus the previous reactive Helidon SE and quadrupled with HTTP/2+TLS; the implementation supports millions of threads in tests. Beware native I/O and synchronized blocks (use ReentrantLock or java.util.concurrent locks) and isolate long-running work on a dedicated executor.

AI-written summary · about

  1. 0:00Intro
  2. 1:17Project Loom
  3. 2:43Virtual Threads (VT)
  4. 5:05VT and use of platform threads
  5. 13:38Structured Concurrency
  6. 16:45Scoped Values-why not ThreadLocal
  7. 20:49Helidon-history
  8. 21:56Helidon - Trade Offs
  9. 24:33Helidon Nima
  10. 25:55Nima & Virtual Threads
  11. 27:07Nima-peek into performance
  12. 28:42Nima & Other Loom features
  13. 29:24Lessons learned 1
  14. 37:00Obstruction of a thread
  15. 38:43Reactive vs Blocking
~/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.