question

KatareAshish-1107 avatar image
0 Votes"
KatareAshish-1107 asked PramodValavala-MSFT edited

Rate limiting in Azure APIM

I would like to understand details about how rate limiting work with Azure APIM.
for an example - if 100 tps

1) what if all 100 transactions comes in first 100 ms , would be exhaust the quota and would wait for 900 ms to accept more traffic ?
2) would it be spaced out like all 100 transactions would be spaced out in the duration of 1 second ?

Any other important factors around this topic to refer ?

azure-api-management
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

PramodValavala-MSFT avatar image
0 Votes"
PramodValavala-MSFT answered PramodValavala-MSFT edited

@KatareAshish-1107 Note that rate limit may not be completely accurate, so there could be a slight difference from the expected vs real numbers as mentioned in the docs.

what if all 100 transactions comes in first 100 ms , would be exhaust the quota and would wait for 900 ms to accept more traffic ?

Yes. But as mentioned above, depending on multiple factors there could a slight difference than expected.

would it be spaced out like all 100 transactions would be spaced out in the duration of 1 second ?

No. They would be handled immediately.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.