Health Monitoring Pattern — Azure Cloud Design

Achindra Bhatnagar
Jul 22, 2017 · 1 min read

To ensure high availability, a regular health check is always a good idea. All you need to do is to periodically request the application endpoint and analyze the response for response time, return code and response content.

If application depends on external services, like DNS and Authentication services, then it is a good idea to probe these external services too and analyze response.

Consider a DNS server that is compromised, health check can confirm if the response to a DNS query is as expected to has been tampered.

What works best is to have application expose health and telemetry data (insights) that can be queried from outside so you also get the exact view as the application is getting when it connects to external resources like database, etc.

You should place the health monitoring app as close to the customer as possible so you get the same view as the customer would. This is good when you are analyzing response times.

You should also secure any endpoint that is exposing insights into the application.

Achindra

Knowledge Is In The Darkness, Lighting The Way Through…

Achindra Bhatnagar

Written by

…Miles to go before I sleep…

Achindra

Achindra

Knowledge Is In The Darkness, Lighting The Way Through…

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade