~/talk

Should I migrate to Reactive and how?

TalkinFrenchat Devoxx France 2022 · 2022-04-20..04-22· [reactive-programming, java]
slides:none on file

Explains when to migrate to reactive: it’s beneficial for higher concurrency rather than lower latency, showing an example where an I/O-bound downstream service (300 ms) saturates an imperative server at ~300 threads while a reactive server handles many more with ~30 threads. Demonstrates the Spring Reactor stack—Mono/Flux, WebFlux, WebClient, and R2DBC for nonblocking DB access—while warning R2DBC lacks joins/pagination (so migrations may require schema changes or adapter layers), and covers runtime/testing considerations like using Reactor Context for MDC/security, detecting blocking calls with BlockHound, and using virtual time for deterministic tests.

AI-written summary · about

  1. 0:00Reactive migration intro
  2. 1:03Imperative limits
  3. 3:32Reactive principles
  4. 5:21Reactive vs imperative perf
  5. 7:25Reactive Streams and Reactor API
  6. 10:15Java reactive impls
  7. 12:47Mono and Flux creation
  8. 15:56Reactive code example
  9. 18:28Threads and reactive context
  10. 20:32Reactive unit tests
  11. 22:41Reactive learning curve
  12. 23:23Migrating Spring MVC
  13. 26:57R2DBC data access
  14. 30:12R2DBC joins and limits
  15. 33:26Blocking detection tools
  16. 35:14Security and reactive context
  17. 36:38Monitoring with Actuator
  18. 38:05Should I migrate?
  19. 39:49Q&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.