我们可以为 AWS DAX 项目缓存设置无限 TTL 吗? [英] Can we have infinite TTL for AWS DAX item cache?

查看:25
本文介绍了我们可以为 AWS DAX 项目缓存设置无限 TTL 吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前已将我的 DAX 集群的项目缓存 TTL 设置为 0.我找不到关于无限超时的任何好的文档.但这是否对应于无限超时?

I've currently set the item cache TTL for my DAX cluster as 0. I can't find any good documentation for an infinite timeout. But does that correspond to an infinite timeout?

 ParameterNameValues:
        "query-ttl-millis" : "60000"
        "record-ttl-millis" : "0"

推荐答案

是的,将record-ttl-millis"设置为0"意味着 DAX 永远不会刷新基于 TTL 的值.如果缓存填满,记录仍然可以被逐出(并因此在下一个请求时刷新).

Yes, setting "record-ttl-millis" to "0" means that DAX will never refresh a value based on TTL. Records can still be evicted (and thus refreshed on next request) if the cache fills up.

我将查看有关清理 TTL 文档的内容,以明确这一点.

I'll see about clearing up the documentation on TTL to make this clear.

这篇关于我们可以为 AWS DAX 项目缓存设置无限 TTL 吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆