Handling failovers (rewrite)
dustin at spy.net
Wed Jul 4 06:21:31 UTC 2007
On Jul 3, 2007, at 23:11 , Ben Manes wrote:
> This is obviously a small edge case and it would be difficult for
> the client to know that it needs to expire the value in bucket_2.
> More than likely the stale data is benign, but I believe the
> scenario is valid.
I've been thinking about this for a little while. I don't know how
valuable it is. I've been thinking about adding a mode in my client
that would do this.
Basically, it'd be easy to broadcast invalidation messages for all
servers in a cluster before issuing a mutation command. Especially
so when using UDP.
This would drive up the load on the server, and give the client more
work to do as well, so it'd be most important where you keep items
for a long time and don't trust your memcached servers to run for
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the memcached