~/talk

Everything Everywhere All at Once

TalkinPolishat JDD 2023 · 2023-10-24..10-25· [java, concurrency]
speakerdeck:marwoj
slides:none on file

Comparing concurrency models on the JVM: the talk examines Thread Per Request (Spring MVC), Reactor (Project Reactor), Kotlin Coroutines, and Java Loom. It explains how each works internally (event loop, continuations), why they are considered asynchronous, differences and similarities, and traces what happens when a Spring Boot REST endpoint is handled under those four scenarios to guide choice for existing and new projects.

AI-written summary · about

  1. 0:00Introduction
  2. 1:20Thread and context basics
  3. 4:10CP vs IO Bound models
  4. 7:30Spring MVC vs Reactor
  5. 10:03Rewriting app for Reactor
  6. 16:30Switching to Kotlin
  7. 17:13How coroutines work
  8. 26:46Coroutines with Spring and JVM
  9. 27:48Virtual threads in Java 19
  10. 32:05Performance test scenarios
  11. 36:49Choosing optimal solution
  12. 39:00Summary and Q&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.