~/talk

Reactive Spring

Talkat jLove 2020 · 2020-12-04..12-05· [java, reactive-programming]
slides:none on file

Reactive claim: less threads, backpressure, uniform APIs and fault-handling. Demo builds a customers HTTP service (Spring Boot 2.4, Spring Boot 2.4 + Reactor, reactive Spring Data repo via R2DBC + H2), an orders service over RSocket streaming, and a gateway that composes customer+orders with Flux.zip. Uses WebClient, Spring Cloud Gateway, hedging and retries, BlockHound for detecting blocking, and native-image Docker build that boots in ~0.176s. The composed customer-orders materialized view runs end-to-end and returns streamed results.

AI-written summary · about

  1. 0:00Introduction
  2. 3:07Why reactive programming
  3. 5:52Limitations of blocking IO
  4. 7:49Reactive paradigm benefits
  5. 9:45Handling distributed systems
  6. 11:49Spring Boot and GraalVM
  7. 13:49Application setup
  8. 17:12Reactive streams API
  9. 21:25Mono and Flux
  10. 22:50Database interaction
  11. 26:34HTTP endpoints
  12. 29:16RSocket protocol
  13. 32:20Building the order service
  14. 35:30Api gateway configuration
  15. 37:28Service orchestration
  16. 40:34Error handling and hedging
  17. 43:23Materialized view demo
  18. 46:17Summary
  19. 47:18Q&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.