~/talk

Mind Rocking Concurrency with Kotlin Coroutines in Spring Boot

Talkat J-Spring Digital 2020 · 2020-06-23..06-26· [kotlin, spring]
name:Urs Peter
links:none on file
slides:none on file

Kotlin coroutines replace blocking Threads/CompletableFutures with suspend/launch/Deferred so asynchronous code reads like synchronous code while integrating with Spring Boot Reactor and R2DBC. Live-coded endpoints show a blocking version with median ~1s and max 8s under load, Reactor and coroutines drop median to ~4ms and max ~500ms, parallel await reduces a 600ms sequence to ~300ms, and a demo creates 1,000,000 coroutines vs ~4,000 threads to prove efficiency. The presenter also shows lifting Reactor/Mono into coroutines via await extensions and the examples measure real performance gains.

AI-written summary · about

  1. 0:00Intro
  2. 2:15Questions
  3. 2:57Protein Sample
  4. 3:45The wakeup call
  5. 4:40Performance test
  6. 7:25Application architecture
  7. 12:40Reactive Programming
  8. 16:34Reactive Programming Disadvantages
  9. 26:06suspend
  10. 27:18continuation
  11. 28:40scopes
  12. 33:11Live coding
  13. 40:07Deferred
  14. 44:16Interoperability
  15. 47:01Conclusion
  16. 50:04Questions for Urs
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.