J.Done
J.Done

Reputation: 3053

AWS - dynamoDB price and usage

I would like to make serverless service. Service would be made like this.

API gateway -> lambda -> dynamoDB

  1. DynamoDB will count sum of read/write real usage time? If I read dynamoDB hourly and each read time would be 1 sec, then

( 24 hour * 30 days * 1 sec ) / 60 sec * DyanmoDB read hour price = real cost price?

  1. What if I send 100 requests in a sec with 10 unit DynamoDB, DB would not be able to read as much as I request?

Upvotes: 2

Views: 1344

Answers (1)

E.J. Brennan
E.J. Brennan

Reputation: 46879

If you exceed your read or write capacity that you provisioned, you requested will/may be rejected and your application will need to have a provision to retry the read/write.

Dynamodb will sometimes absorb read/writes beyond what you have provisioned, so you might get away with it sometimes, but it's not guaranteed, so you still need to account for it in your design.

Upvotes: 3

Related Questions