So, health checks! There is some subtlety here we can learn from. To take a triv...
Craig Stuntz @CraigStuntz@discuss.systems
So, health checks! There is some subtlety here we can learn from. To take a trivial example: Let’s say you write a web service which needs to connect to a database to do its work. You add a health check and restart the service if it doesn’t return or says it’s unhealthy. The health check might want to report the database connection status. All fine. However, you can’t use the database connection health to decide whether to restart the service. Otherwise if your database goes down then your service control will start bouncing your service, even though that will not fix the database! There’s a place for “overall service health, including external dependencies” and there’s a place for “stuff which can probably be fixed by restarting the service when it’s unhealthy.” They are not the same!