Does aws charge for ThrottlingException on dynamodb request ?

0

Hi,

I got ThrottlingException on write batch, I retry the request and I wonder if AWS charge when we got a ThrottlingException error ?

Thanks, Sébastien Boucard

Kinesra
已提問 2 年前檢視次數 295 次
3 個答案
1

For items which are returned in UnprocessedItems you are not charged for them, but you will be charged when you retry these items:

Throttling prevents your application from consuming too many capacity units. When a request is throttled, it fails with an HTTP 400 code (Bad Request) and a ProvisionedThroughputExceededException. The AWS SDKs have built-in support for retrying throttled requests so you do not need to write this logic yourself. Read/Write Capacity Mode.

Its important to note that you do write the logic for retrying BatchWriteItems when being returned UnprocessedItems, therefore, you should ensure you use exponential backoff and retry mechanism as this will reduce the amount of throttling you are seeing.

profile pictureAWS
專家
已回答 2 年前
0

No, as per Read/write capacity mode - "Throttling prevents your application from consuming too many capacity units. When a request is throttled, it fails with an HTTP 400 code (Bad Request) and a ProvisionedThroughputExceededException"

profile pictureAWS
已回答 2 年前
-1

Basically in dynamodb side you are not charged but for network throughput you will be charged

Knowing that all internql inbound throughput is free si just cobsider using dynamodb endpoint to keep your calls internal,

By the way, you need to look more global if you need to caculate your charges

已回答 2 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南