Request throttling for the Amazon ECS API

0

Is there an API call you can make that gives you the state capacity (used/available) of the bucket (capacity and refill rate). CloudWatch monitors failures (RequestLimitExceeded) but only once you exceeded the limit, so you can be at the 99% mark and see zero failures and then pass it without noticing.

Kobster
preguntada hace un año469 visualizaciones
1 Respuesta
3

there isn't a direct API call that provides the current state capacity (used/available) or the current throttle status for the Amazon ECS API. The Amazon ECS API has a default rate limit, and exceeding it results in a "RequestLimitExceeded" error, which you can monitor through Amazon CloudWatch.

if you needed, you can estimate and manage your API usage by following

  • Cache API responses
  • if your application requires higher rate limits, you can request a limit increase by contacting AWS Support.
  • Implement an exponential backoff algorithm with jitter in your applications that make API calls
profile picture
EXPERTO
respondido hace un año

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas