本文介绍了每天(不是每秒)计算DynamoDB RCU定价的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果我们忽略存储容量,写入,高度一致的读取和事务性读取,并假设我们的应用程序只能执行最终一致的读取,那么是否成立?

If we ignore storage capacity, writes, strongly-consistent reads, and transactional reads, and assume that our app can only perform eventually-consistent reads, is the following true?

1 RCU =每秒最终8K读取

1 RCU = 1 eventual 8K read per second

因此,1 RCU =每天最终8K读取

Therefore, 1 RCU = 86,400 eventual 8K reads per day

拥有25个免费RCU =每天最终216万次免费读取8K

With 25 free RCU's = 2.16 million eventual 8K reads per day FREE

或每天有216万个免费RCU

Or 2.16 million free RCU's per day

如果平均查询读取200个项目,每个项目0.5k = 13个RCU,则

If the average query reads 200 items @ 0.5k per item = 13 RCU's

假设他们在应用程序上什么也不做,那么166,153个人可以做到这一点每天免费查询吗?

Assuming they do nothing else on the app, 166,153 people can make that one and only query every day for free?

推荐答案

是的,如果有166,153人每天打一次电话,但永远不会在同一时间打过电话(如果您每秒有多个呼叫,并且预配置了25个RCU,则超过25个RCU的呼叫将受到限制。)

Yes, if those 166,153 people make that call once a day but also never at the same time (if you have multiple calls per second and you provisioned 25 RCU, calls exceeding 25 RCU will be throttled).

这篇关于每天(不是每秒)计算DynamoDB RCU定价的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-10 07:41