Origin Health Check Mechanism

vinugayathri.chinnasamy@indusface.com Updated by vinugayathri.chinnasamy@indusface.com

AppTrana allows application admins to distribute traffic to multiple origin servers using a DNS-weighted routing mechanism.

It supports a dynamic and responsive traffic management system by constantly monitoring the availability of origin servers and applications to adjusting the traffic distribution accordingly.

How Does DNS Weighted Routing Mechanism Work?

In AppTrana, admins can specify the ratio (%) of total traffic to be directed to each origin through the portal.

Handling Unavailable Origins: If any origin becomes unavailable, the ratio (%) of traffic sent to that origin will automatically be set to zero. The total traffic will be redistributed equally among the remaining available origins to ensure the total traffic allocation remains at 100%.

Reintegrating Available Origins: Conversely, if an origin that was previously unavailable becomes available again during subsequent health checks, the traffic split ratio (%) will again be updated for all the origins. As a result, the traffic will be redistributed equally among all available origins.

In future enhancement, the original traffic split ratio specified by the user will be reinstated - when all origins are found available.

Origin Health Check Mechanism

Now, AppTrana allows its users to define health check parameters on the AppTrana portal, specifying the URL to check for availability and the expected response code to determine if an origin is available.

For example:

A user with three origins:

  1. Origin 1: 12.241.21.1
  2. Origin 2: 18.23.4.6
  3. Origin 3: 14.21.4.1

Defines a common health check URL: www.example.com/home

Defines the expected response as 200

In this scenario, AppTrana will attempt to access the URL www.example.com/home on each of the origins. If the response is not 200, the origin will be considered unavailable.

 

This health check will be performed every 5 minutes for each of the applications.

 

How did we do?

OWASP API Security Top 10 2023 – AppTrana API Protection

Restricted Admin User

Contact

This site is protected by hCaptcha and its Privacy Policy and Terms of Service apply.