gpt4 book ai didi

amazon-web-services - 内存存储 (Elasticache) 与持久数据存储 (Dynamodb) 之间的读/写延迟比较(以高级数字表示)

转载 作者:行者123 更新时间:2023-12-02 19:33:51 26 4
gpt4 key购买 nike

我正在尝试为需要大量读取数据和相当大量写入的应用程序找到 AWS Elasticache-Redis 与 DynamoDB 的一些高级性能数据。我的想法是在 Elasticache 中存储 session 期间的临时数据,并在 session 结束时将数据转储到 DynamoDB(或任何其他持久存储)。

我想了解如果我直接从 DynamoDb 而不是内存存储中读取/写入数据,那么考虑到 DynamoDb 具有非常高的性能数据,读取/写入的速度会有多大差异。但如果有人能提供这些数据存储读/写延迟的粗略数字,那就太好了:) 谢谢!

最佳答案

弹性疼痛

The latency for a call to ElastiCache can be 300-500 microseconds (source).

DynamoDB

Amazon DynamoDB is a key-value and document database that delivers single-digit millisecond performance at any scale (source).

在客户端,这些延迟(当然)对数据大小和网络连接很敏感。

要获得更具体的数字,您应该使用特定的数据和基础设施运行自己的实验。

关于amazon-web-services - 内存存储 (Elasticache) 与持久数据存储 (Dynamodb) 之间的读/写延迟比较(以高级数字表示),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/61377845/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com