~/talk

Efficient web apps with spring boot 2

Talkat JAX 2019 · 2019-05-06..05-10· [spring, web-performance]
slides:none on file

A Spring Boot MVC dashboard app that calls three backend services gets converted to nonblocking calls: replaced RestTemplate with WebClient, composed responses with Reactor (map/flatMap/zip and timeout operators) to cancel slow remote calls, and exposed Micrometer metrics with a Prometheus registry and a dashboard to track capacity. A noisy reverse-lookup service showing ~7.7s max latency gets bounded by a 500ms–1500ms timeout in the demo, improving tail latency and preventing thread exhaustion.

AI-written summary · about

  1. 0:00Introduction and context
  2. 3:53Reactive programming basics
  3. 8:26Demo app overview
  4. 11:07Adding reactive support
  5. 18:16Composing reactive data
  6. 27:29Debugging with Spring Boot Actuator
  7. 32:21Metrics with Micrometer
  8. 44:58Timeout handling with Reactor
  9. 50:13Configuring timeouts
  10. 54:24Q&A and closing
~/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.