Deep health check pattern

Let's consider an example using the two-tier architecture again. So far we have shown how to replicate the UI across single and multiple availability zones, through the multi-server and multi-data center patterns. These patterns used a health check on the server itself to let the load balancer know that the server is operational. The thing that is missing from this is a health check that lets the load balancer know that the database is operational.

The deep health check pattern lets the instances connected to the load balancer, or in this case the UI instances, notify the load balancer of health checks beyond the grasp of the load balancer itself. The example that we will discuss will use a page from the UI instance to ...

Get Implementing Cloud Design Patterns for AWS now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.