课程: AWS for Developers: DynamoDB

今天就学习课程吧!

今天就开通帐号,24,700 门业界名师课程任您挑!

Pricing and capacity planning in DynamoDB

Pricing and capacity planning in DynamoDB

- [Narrator] Before we set up our DynamoDB table, it's important that we understand how DynamoDB calculates cost so we can plan and provision accordingly. The bulk of the pricing in DynamoDB comes down to read and write units. Let's talk about read units first. DynamoDB offers different read consistencies or modes of fetching data that have costs associated. When you write a piece of data to DynamoDB, that data is replicated across three availability zones. That means if you're writing and reading at a rapid pace within a few milliseconds, it's possible your data may not be fully replicated and you may get a stale item. Again this isn't usually a problem unless you're reading and writing at a very high rate of speed. But when you request eventual consistency, you're saying go ahead and give me that value from any node that's available. When you say read strongly consistent, you're saying only read from the first node, the node that gets the writes. As you probably can guess, there's a…

内容