Home / Spring Boot / Production and Testing
Production and Testing
Logging, monitoring, tracing, testing, performance, tooling, deployment, upgrades and interview preparation.
LoggingGood logs are your best tool when something fails in production.Actuator and MonitoringActuator gives your application production features: health checks, metrics, environment information and more, all as HTTP endpoints.Observability: Logs, Metrics and Distributed TracingWhen a request passes through five services and is slow, logs of one service are not enough.Testing Spring Boot ApplicationsSpring Boot gives you fast unit tests, focused slice tests and full integration tests.Caching, Scheduling and AsyncThree features that improve performance and automate work: cache repeated results, run tasks on a timer, and run slow work on another thread.Performance Tuning: A Practical MethodGuessing is the enemy of performance work.Lombok and MapStruct: Less BoilerplateLombok generates getters, constructors and builders at compile time.Packaging, Docker and DeploymentSpring Boot builds a single executable jar.Upgrading Spring Boot: 2.x to 3.x to 4.xUpgrades are a normal part of a Spring Boot project because each minor version has limited support.Spring Boot Interview Questions and AnswersA collection of the questions asked most often in Spring Boot interviews, with short and clear answers.