API Gateway throttles requests

0

I have an API Gateway resource connecting to lambda and I see that consecutive requests to the API are throttled. I don't have caching enabled and the rate of requests is far below the throttling level.

API Gateway configuration Enter image description here

The lambda also has been configured without an upper bound on invocations.

2 Risposte
1

If you are confident that the throughput is below the rate and the burst limit for a particular API resource/method combination, then you may be hitting the overall account level limits for your account - https://docs.aws.amazon.com/apigateway/latest/developerguide/limits.html

In that case, you will need to open a support ticket with AWS support and apply for an increase in quotas.

profile pictureAWS
ESPERTO
con risposta 2 anni fa
1

API Gateway throttles requests to your API using the token bucket algorithm, where a token counts for a request. Specifically, API Gateway examines the rate and a burst of request submissions against all APIs in your account, per Region.

In the token bucket algorithm, a burst can allow pre-defined overrun of those limits, but other factors can also cause limits to be overrun in some cases.

When request submissions exceed the steady-state request rate and burst limits, API Gateway begins to throttle requests. Clients may receive 429 Too Many Requests error responses at this point. Upon catching such exceptions, the client can resubmit the failed requests in a way that is rate limiting.

Refer to the below link for additional details: https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-request-throttling.html -- [1]

profile pictureAWS
TECNICO DI SUPPORTO
con risposta 2 anni fa
  • Thanks for taking the time to reply. In my case, the API is still under development and currently, it's just me querying the API. How can I disable this throttle for specific resources using the API? Also, I don't see this behaviour when I use HTTP integration. This only shows up with lambdas.

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande