gpt4 book ai didi

database - DynamoDB DAX 是否可横向扩展?

转载 作者:太空狗 更新时间:2023-10-30 01:55:19 25 4
gpt4 key购买 nike

我想问的是,当我们向 DynamoDB DAX 集群添加更多节点时,它会将数据分布在节点之间,缓存容量将等于(节点数*节点容量)或更多节点用于可用性和负载分配仅以容量作为单节点容量?

最佳答案

这是 DAX documentation 的内容不得不说:

A DAX cluster consists of one or more nodes. Each node runs its own instance of the DAX caching software. One of the nodes serves as the primary node for the cluster. Additional nodes (if present) serve as read replicas. For more information, see Nodes.

然后是 Nodes链接说

You can scale your DAX cluster in one of two ways:

• By adding more nodes to the cluster. This will increase the overall read throughput of the cluster.

• By using a larger node type. Larger node types provide more capacity and can increase throughput. (Note that you must create a new cluster with the new node type.)

因此,通过添加更多节点,您可以添加更多只读副本以及每秒处理相同数据量更多请求的能力。添加节点不会增加总缓存大小。

您可以通过为集群使用更大的实例类型或为相同的表使用多个 DAX 集群来增加 DAX 缓存中的数据量。

通过多个DAX集群获取更大的缓存是可以的,但有点复杂。您需要弄清楚如何对读取请求进行分区,以便在 DAX 集群端点之间一致地划分它们。

关于database - DynamoDB DAX 是否可横向扩展?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/55074464/

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