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
질문됨 일 년 전469회 조회
1개 답변
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
전문가
답변함 일 년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠