我在 DynamoDB 中有一些记录。但是查询[[AmazonClientManager ddb] scan:]有时加载时间过长并返回 nil。这个问题的可能原因是什么?我能猜到的一件事是,这可能是网络问题。我不确定。但这种情况经常发生。
有任何想法吗?
谢谢。
我在 DynamoDB 中有一些记录。但是查询[[AmazonClientManager ddb] scan:]有时加载时间过长并返回 nil。这个问题的可能原因是什么?我能猜到的一件事是,这可能是网络问题。我不确定。但这种情况经常发生。
有任何想法吗?
谢谢。
I had a similar problem with request taking up to 5 sec to complete. This delays were visible in CloudWatch using the "max" aggregation function. This showed it is a problem on Amazon side.
The support told us that 5 sec is the "failover" delay on their side. This indicates that one of DynamoDB partitions had "troubles" (there are a least 2 of them)
As Scan is not capable of "Strong consistency", I guess it is also not capable of failing over. CloudWatch statistics might be a good starting point to validate this hypothesis.
问题是超出了特定表的吞吐能力。所以在 7 次自动重试后得到了nil 。谢谢你们每一个人的帮助!