Health Check Pattern
Learn Health Check Pattern (Cloud-Native Patterns, Cloud-Native Patterns) with worked examples, diagrams and interview questions. Free on JavaSchoolLab.
Health Check Pattern A Health Check is an endpoint a service exposes so external systems - load balancers, orchestrators like Kubernetes, monitoring tools - can ask "are you okay?" and get a simple, fast answer. Instances that report unhealthy get taken out of rotation automatically, before they cause customer-facing failures. Spring Boot Actuator's /health Endpoint Spring Boot Actuator ships a ready-made /actuator/health endpoint that aggregates the status of the app itself plus its dependencies (database, disk space, message brokers).