Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Early throttling behaviour observed upon traffic manager restart #3322

Closed
charithjayasanka opened this issue Oct 31, 2024 · 0 comments · Fixed by wso2/carbon-apimgt#12696
Closed

Comments

@charithjayasanka
Copy link

Description

Early throttling behavior occurs when the Traffic Manager is restarted. If a load is received during the restart period, it accumulates and collectively contributes to the throttle decision made during the Traffic Manager's first window. This results in premature throttling, as previous events are factored into the throttle decision.

Steps to Reproduce

In a distributed setup,

Set the throttling policy to 20 events.
Stop the traffic manager during a particular minute & execute events more than 20 in the same minute.
Start the Traffic manager in the next minute & wait until the GW connects to the Traffic Manager.
Then execute events & the throttling will occur prematurely.

Affected Component

APIM

Version

3.2.1

Environment Details (with versions)

No response

Relevant Log Output

No response

Related Issues

No response

Suggested Labels

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants