~/talk

Moving from Imperative to Reactive

Talkat Spring I/O 2019 · 2019-05-16..05-17· [reactive-programming]
links:none on file
slides:none on file

Converts a simple Spring Boot + JPA REST app to a working reactive service using Spring WebFlux and Project Reactor, replacing RestTemplate with WebClient and Tomcat with Netty. Shows concrete code: repository findAll → Flux.fromIterable, findById → Mono.orEmpty, flatMap to parallelize pension lookups and save, errors propagated as monos and mapped to 404s. Observes Reactor using CPU-bound default threads (four on a 4‑core box) and measures faster pension cleanups; demo runs end-to-end.

AI-written summary · about

  1. 0:00Start
  2. 0:16What is this?
  3. 2:19Reactive Manifesto
  4. 3:51Reactive Streams
  5. 5:30Project Reactor
  6. 7:00Flux & Mono
  7. 40:54Summary
  8. 43:40Resources
~/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.