TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

How Etsy caches: hashing, Ketama, and cache smearing

58 点作者 micahgoulart超过 7 年前

1 comment

stevekemp超过 7 年前
Cache smearing seems like it would suffer from the obvious problem of invalidation. The solution they come up with is rather than having a piece of data associated with one cache key &quot;foo&quot; it is associated with &quot;foo0, foo1, foo.., foo8&quot;.<p>If you have one key you can just delete it, but now you have to do that on all the possible versions of the key.<p>(Of course if they&#x27;re relying upon TTL settings for expiration then this doesn&#x27;t matter.)
评论 #15829021 未加载