亚马逊的DynamoDB in是为保证性能而设计的.客户必须为其每个表提供吞吐量.
为了实现这种性能,表透明地分布在多个"服务器"或"分区"上.
亚马逊为我们提供了一个"best practice" guide来衡量和优化吞吐量.在这本指南中,我们被告知provisioned throughput is evenly divided over the partitions.换句话说,如果请求不是均匀分布在分区上,则应用程序将只有fraction的保留(和付费)吞吐量可用.
在worst case scenario米比赛中,它将是:
worst_throughput = provisioned_and_paid_throughput / partitions
要估计这个"最差吞吐量",我需要知道分区的总数.我在哪里可以找到它,或者我如何估计它?