~/talk

Everything Everywhere All at Once

TalkinPolishat Confitura 2023 · on Saturday, 2023-06-24· [java, concurrency]
speakerdeck:marwoj
slides:none on file

Compares four server models—Thread-per-request (Spring MVC), Reactor (Project Reactor), Kotlin coroutines, and Java Loom—using a concrete benchmark of 20,000 authors × 5 activities (100,000 activities) with Gatling in Docker limited to two CPU cores and low memory. Measures latency, especially 99th-percentile (~80 ms), finds Spring MVC breaks under higher load with errors, Reactor performs better, and Kotlin coroutines achieve the best tail latency; recommends running performance tests before refactors, migrating Kotlin services to coroutines, and Java projects to wait for Loom.

AI-written summary · about

  1. 0:00Threads and context
  2. 3:12Thread scheduler basics
  3. 8:10Fred per request vs event loop
  4. 13:30Async in servers
  5. 21:00Kotlin coroutines
  6. 27:41Virtual threads in Loom
  7. 32:40Spring vs Reactor vs Coroutines
  8. 39:48Summary and recommendations
  9. 43:41Q&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.