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
質問済み 1年前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
エキスパート
回答済み 1年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ