How to auto scale Amazon DynamoDB throughput?

前端 未结 11 756
渐次进展
渐次进展 2020-12-13 06:59

Amazon DynamoDB doesn’t provide inbuild capabilities to auto tune throughput based on Dynamic Load. It provide API to increase or Decrease throughput. Customers are being c

11条回答
  •  再見小時候
    2020-12-13 07:16

    You can manage throughput programmatically through the updateTable API or manually through the console.

    There's also tools like Dynamic DynamoDB, though you could roll your own version as well: you'd use the updateTable API and have some background process running to detect those circumstances and call updateTable as necessary.

    Some things to watch out for when changing the scale of DynamoDB:

    1. You get billed for allocated throughput, whether you're actually using it or not.
    2. Wen you scale up, Dynamo may allocate new partitions for you - but it won't remove them when it scales down. This can result in unexpected hot hash key problem where you have a lot of partitions but very low throughput on each of them.

提交回复
热议问题