Grokking Spring Boot
Vote

0% completed

​

Health, Liveness and Readiness

Can one service be down and up at the same moment? These three answers came from one instance of the booking service, a second apart:

GET /actuator/health 503 {"groups":["liveness","readiness"],"status":"DOWN"} GET /actuator/health/liveness 200 {"status":"UP"} GET /actuator/health/readiness 200 {"status":"UP"}

We had pointed the service at a payment provider address where nothing was listening. None of the three answers is wrong. Each path asks a different question, and a platform that runs the service acts on each answer in a different way.

.....

.....

.....

Like the course? Get enrolled and start learning!

Reading Progress

0%


Vote for new content