gpt4 book ai didi

azure - Redis 缓存 maxmemory-reserved 设置是 Azure 独有的吗?

转载 作者:IT王子 更新时间:2023-10-29 06:04:22 26 4
gpt4 key购买 nike

Azure 的 Redis 缓存高级设置中有 maxmemory-reserved 设置,Microsoft documents as :

The maxmemory-reserved setting configures the amount of memory in MB that is reserved for non-cache operations such as replication during failover. It can also be used when you have a high fragmentation ratio. Setting this value allows you to have a more consistent Redis server experience when your load varies. This value should be set higher for workloads which are write heavy. When memory is reserved for such operations it is unavailable for storage of cached data.

我找不到任何有关 Redis.io 的文档关于 maxmemory-reserved ,或在服务器配置文件中。命令 redis-cli config get maxmemory-reserved 也不会返回任何内容,因此我猜测这是 Azure 独有的设置。

maxmemory-reserved 是不是由 Azure 托管的 Redis 服务器上的可配置设置吗?如果没有,有没有办法模拟 maxmemory-reserved

最佳答案

是的,这是 Microsoft 添加到 Redis 的自定义设置。您应该能够在 Redis 配置文件中使用不同的 maxmemory 设置,它或多或少会完成相同的事情。

关于azure - Redis 缓存 maxmemory-reserved 设置是 Azure 独有的吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42033651/

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