~/talk

Unlocking Data-Intensive Applications with Virtual Threads

Talkat JCON WORLD ONLINE 2023 · on Wednesday, 2023-11-22· at 13:00· Live-Stream 5, Online - Remote· [java, concurrency]
links:none on file
slides:none on file

Claims that Java 21 virtual threads let a web app serve 100K requests/sec by mapping millions of lightweight virtual threads onto a few platform threads, demonstrated with Spring Boot/Tomcat and reactive alternatives. Load tests use JMeter, k6, Predator and a Raspberry Pi cluster for generation; results show huge throughput gains but shifting bottlenecks to JDBC/databases and networks. Examples include Super Bowl–scale numbers (~70k req/s peaks, 4.5B votes) and advice to use Kafka/R2DBC/streaming to handle persistence.

AI-written summary · about

  1. 0:00Introduction and speaker background
  2. 1:47History of Big Data and Java/Scala trends
  3. 5:21Understanding data-intensive applications
  4. 10:38Platform threads vs virtual threads
  5. 12:28How virtual threads improve throughput
  6. 15:21Project Loom and Java’s coroutine implementation
  7. 18:09Benefits of virtual threads
  8. 19:57Testing virtual threads with Spring Boot
  9. 23:05Database bottlenecks and solutions
  10. 26:58Future of Java and virtual threads
  11. 31:16Key takeaways and call to action
  12. 35:12Q&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.