Layer7 API Management

Expand all | Collapse all

Health Check Probe for API Gateway-tcp or http?

Jump to Best Answer
  • 1.  Health Check Probe for API Gateway-tcp or http?

    Posted 05-31-2018 07:21 AM

    Hello Everyone,

    We have api gateway setup on Azure Cloud and we are currently using Azure Internal Load Balancer for distributing the traffic across api gateways. We want to setup a health check probe which will take the unhealthy gateway node out of rotation automatically. Azure ILB provides tcp and http probe. I would like to know which healthcheck probe would be better choice.

     

    Thanks,

    Adarsh



  • 2.  Re: Health Check Probe for API Gateway-tcp or http?
    Best Answer

    Posted 05-31-2018 08:24 AM

    A tcp probe will only give you a very basic gateway up/down check. It doesn't show if the gateway is actually processing messages. So I would go for the http probe. I have posted a sample policy you can use for an http probe here: Load Balancer Status Service



  • 3.  Re: Health Check Probe for API Gateway-tcp or http?

    Posted 06-01-2018 06:33 AM

    This is helpful. Many thanks.

     

    Cheers,

    Adarsh



  • 4.  Re: Health Check Probe for API Gateway-tcp or http?

    Posted 05-31-2018 08:57 AM

    I would go with MichielHelder's advice. You have some more control about taking down separate nodes and message processing is checked. The PING URI test (also HTTP) from docops is more basic and does not necessarily indicate normal message processing.