Xiaolin Talks Programming
Sep 13, 2026 · Backend Development
Spring Boot Startup Optimization: From 6.2s to 1.8s via Profiling, Lazy Loading & Event-Driven Init
A real-world case study shows how systematic profiling with Spring Boot Actuator and JFR, combined with scan-scope reduction, selective @Lazy on external clients, HikariCP deferred connection, and ApplicationReadyEvent-driven async initialization cut a Spring Boot 3.1.5 order-service startup from 6.2 seconds to 1.8 seconds on Java 17.
Event-Driven InitializationHikariCPLazy Loading
0 likes · 22 min read
