edit-icon download-icon

Rete limiting and degradation overview

Last Updated: Nov 16, 2018

The throttling and downgrade feature of EDAS solves slow system responses or crashes caused by high pressure of the backend core service. This feature is generally used in high-traffic scenarios, for example, flash sale, shopping spree, great promotion, and anti-empty box scams.

Throttling

This feature is used to control the traffic threshold or adjust the ratio. When a frontend website encounters high-traffic access, the traffic is controlled to prevent damage to the backend core system and service unavailability.By adjusting the traffic threshold, the maximum traffic volume of the system is controlled to ensure secure and stable system running.

Basic principle

After a throttling module code is configured for a service provider and a throttling policy is configured on EDAS, the service provider has the throttling function.When a service consumer calls the service provider, all access requests are calculated by the throttling module. If the call volume of the service consumer exceeds the preset threshold in a specific period, the throttling policy is triggered.

Rate limiting rule

Downgrade

Downgrade is to lower the called priority of non-core service providers that are timed out to ensure the availability of core service consumers.

Basic principle

After a downgrade module code is configured for a service consumer and a downgrade policy is configured on EDAS, the service consumer has the downgrade function.When the service consumer calls a service provider, if the response time of the service provider exceeds the preset threshold, the degradation policy is triggered.

Degrade rule

Thank you! We've received your feedback.