~/talk

Preparing Spring Web Applications for Loom

links:none on file
slides:none on file

Examines Loom (Java 21) with Apache Tomcat using microbenchmarks and higher‑concurrency cloud tests; virtual threads show about 30 microseconds lower per‑request overhead and roughly +1% throughput on a 3.37M→3.41M request run, but latency tails increase (89% ≤800ms, 9% 800–1200ms, 2% >1200ms). Identifies concrete fixes: replace blocking inside synchronized blocks (use ReentrantLock), review thread‑local caches, expect larger heap GC churn, and enable with connector option useVirtualThreads=true while keeping Tomcat defaults until users demand change.

AI-written summary · about

  1. 0:00Introduction and speaker intro
  2. 1:27Brief history of servlet scalability
  3. 10:14Virtual threads overview and benefits
  4. 16:38Virtual threads impact on scalability
  5. 21:58Throughput comparison tests
  6. 27:15Ease of use with blocking APIs
  7. 30:26Coding constraints and pinning issues
  8. 32:13Thread local alternatives and caching
  9. 34:45Conclusion and recommendations
  10. 36:52Future of virtual threads in Tomcat
  11. 37:57Q&A session
~/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.