Efficient web apps with spring boot 2
summary
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
chapters (10)
- 0:00Introduction and context
- 3:53Reactive programming basics
- 8:26Demo app overview
- 11:07Adding reactive support
- 18:16Composing reactive data
- 27:29Debugging with Spring Boot Actuator
- 32:21Metrics with Micrometer
- 44:58Timeout handling with Reactor
- 50:13Configuring timeouts
- 54:24Q&A and closing
related talks
48mEfficient web apps with Spring Boot 2
51mSpring Boot 2.0 Web Applications
51mSpring Boot 2 0 Web Applications
47mSpring Boot 2.0 Web Applications
55mBootiful Spring Boot 3
57mTransporting Data at Warp Speed: How to Connect Spring Boot Apps Quickly, Powerfully, and Painlessly
45mReactive web services
57mRefactor to Reactive with Spring 5 and Reactor 3
