1个RCU表示每秒1个请求,对于强一致性,每个请求为4KB/秒,对于最终一致性,每个请求为(4x2)8KB/秒。
如果应用程序每秒收到10个强一致性读请求,而RCU为1,那么在这种情况下会发生什么情况?DynamoDB每秒只能响应1个请求?当RCU为10时会发生什么?DynamoDB每秒可以响应10个请求?
如果我每秒有数以万计的请求访问一个表,我的应用程序会发生什么?
发布于 2018-08-10 17:28:25
您的请求将被限制。查看此处:https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/HowItWorks.ProvisionedThroughput.html
If your read or write requests exceed the throughput settings for a table,
DynamoDB can throttle that request. DynamoDB can also throttle read requests
exceeds for an index.
Throttling prevents your application from consuming too many capacity units.
When a request is throttled, it fails with an HTTP 400 code (Bad Request) and
a ProvisionedThroughputExceededException.
The AWS SDKs have built-in support for retrying throttled requests (see Error
Retries and Exponential Backoff), so you do not need to write this logic
yourself.https://stackoverflow.com/questions/51783219
复制相似问题