Reactive Spring
summary
Overview of what gets built and what works: Spring Framework 5 + Spring Boot 2 and WebFlux run on a Netty runtime, using Mono and Flux for backpressure so threads (≈1MB each) aren’t exhausted; a sample reservation service persists to reactive MongoDB, exposes functional routes, and a reactive WebClient consumes it. Gateway uses Spring Cloud Gateway with Redis rate limiter (5/sec, burst 7) and Spring Security reactive auth; Hystrix fallback prevents 500s. Experimental streaming uses RSocket over TCP port 7000 for server push.
AI-written summary · about
chapters (12)
- 0:00Introduction and welcome
- 1:08Motivations for reactive programming
- 7:52Building a reactive service
- 25:30ASCII art and IntelliJ rant
- 29:15Creating a REST API
- 32:47Building an edge service
- 37:20Rate limiting with Redis
- 39:31Spring Security in reactive apps
- 45:58API adapters and error handling
- 51:47HTTP limitations and alternatives
- 53:33WebSocket and RSocket demo
- 1:00:17Conclusion and Q&A
