How Etsy caches: hashing, Ketama, and cache smearing(codeascraft.com) |
How Etsy caches: hashing, Ketama, and cache smearing(codeascraft.com) |
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.
(Of course if they're relying upon TTL settings for expiration then this doesn't matter.)
You can send all such commands to memcached at once, so you don't suffer more than one round-trip to multi-delete.