A developer is receiving HTTP 400: ThrottlingException errors intermittently when calling the Amazon CloudWatch API. When a call fails, no data is retrieved.
What best practice should first be applied to address this issue?
A.
Contact AWS Support for a limit increase.
B.
Use the AWS CLI to get the metrics.
C.
Analyze the applications and remove the API call.
D. Retry the call with exponential backoff is the recommended best practice in this scenario. Exponential backoff is a standard error-handling strategy for network applications in which the client progressively increases the wait time between retries, up to a maximum number of retries, when a request fails due to server-side throttling. This approach helps to smooth out the rate of API calls, reducing the likelihood of hitting the rate limit.
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
didorins
Highly Voted 12 months ago65703c1
Most Recent 5 months agoSerialiDr
9 months agovruizrob
12 months agoClaire_KMT
12 months agodidorins
12 months ago