invalidation by namespace Re: Listing all keys on a server: why?
serhat at sakarya.nl
Fri Jul 28 13:12:47 UTC 2006
On 7/28/06, Paul T <pault12345 at yahoo.com> wrote:
> 3. key_salt is stored in memcached forever.
The problem I see with this approach is that when the salt *does* get lost
(node reboot, failure, etc), you risk that old data may be revalidated.
In this case, I think that it's better to trade some efficiency for data
integrity by including the salt in the value instead of the key. It will
result in more lookups, but losing the salt won't cause issues. The
scalability in this area makes sure that any performance loss won't be of
the painful kind.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the memcached