~/talk

Infinitely scalable microservices with Project Loom and Helidon

Talkat J-Fall Virtual 2020 · 2020-11-03..11-06· [java, microservices]
links:none on file
slides:none on file

Shows an experimental integration of Project Loom (early‑access JDK 16 virtual threads) with Helidon MP, swapping Helidon’s thread manager with three changed files. Test app sleeps (default 100ms); load tool Vegeta runs 1000 rps for 10s. Traditional setup rises from 8 to 32 OS threads and sees ~8s max latency with many >2s; Loom run uses ~7 OS workers, max latency <200ms and ~94–95% responses <100ms. Code impact is minimal.

AI-written summary · about

  1. 0:00Intro
  2. 1:12What is Project Loom?
  3. 1:48Why Project Loom?
  4. 3:49Threads for better scalability
  5. 7:24Problem: Blocking calls
  6. 10:55How to solve? Application based solution: Reactive/Asynchronous
  7. 13:51Development based solution requires you to choose between
  8. 15:13Platform based solution: Fiber (Lightweight/Virtual/Green Thread)
  9. 17:43Helidon Architecture
  10. 23:18Build Profiles
  11. 26:30Code changes
  12. 27:05Get JDK with Loom
  13. 27:40Test application
  14. 28:06Test scenario and tools
  15. 30:108 (initial - default) Native threads - AFTER TEST
  16. 31:12Virtual threads - BEFORE TEST
  17. 31:53Scenario 2: Virtual threads - AFTER TEST Fork
  18. 34:13Conclusion
~/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.