TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

How Etsy caches: hashing, Ketama, and cache smearing

58 pointsby micahgoulartover 7 years ago

1 comment

stevekempover 7 years ago
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 未加载