Chapter plan
What you will complete
01Tune from an End-to-End Performance BudgetMeasure database plans, HikariCP contention, thread pools, allocation, GC, and downstream latency in the right order.Profile before changing defaultsBound every queue and poolOptimize query count and plans before enlarging the connection pool 55 min02Spring MVC vs WebFlux: Blocking DecidesCompare the servlet thread-per-request model against reactive event loops—and learn when switching stacks does not help.Explain blocking cost: one held thread per waiting requestMap where WebFlux helps (streaming, high fan-out I/O) and where it cannotKeep MVC for JDBC-centric services unless evidence says otherwise 35 min
Module outcome
Turn performance work into measurement-driven scaling decisions backed by load-test evidence.
Mental model
Throughput is capped by the busiest constrained resource; find it with measurements before changing any configuration.
Module checkpoint
Measured scaling report
Baseline, profile, and re-test the order service, then document one horizontal scaling decision with evidence.
- Before/after load-test results
- Bottleneck analysis
- Scaling decision record
Final module assessment
Ready to prove mastery?
Complete all 50 questions after finishing the module lessons and checkpoint.