Does dynamoDB charge for throttled requests?

Viewed 330

Whenever dynamoDB throws the ProvisionedThroughputExceededException, does DynamoDB still charge us for the request sent to it.

Update :

  1. we use both the schemes, provisioned + auto scaling and OnDemand for our DDB tables.
  2. I am trying to understand if DDB will still consider WCU/RCU consumed for throttled requests which resulted in ProvisionedThroughputExceededException
  3. DynamoDB in their definition of WCU and RCU states that every API call to DDB is considered as write/read request. (https://aws.amazon.com/dynamodb/pricing/on-demand/) Does it mean that even failed API calls ( Internal Error 500, ProvisionedThroughputExceededException) will be charged ?
2 Answers

Adding the response I got from AWS support. They don't charge when the request to DDB gets throttled.

If you are using Provisioned Capacity, there is no charge for the individual requests. Rather, you pay for a particular capacity of requests.

If you are using On-Demand Capacity, requests are charged at $1.4231 per million write request units and $0.285 per million read request units. So, unless you are receiving millions of ProvisionedThroughputExceededException errors, it wouldn't have much of an impact on your bill.

Related