How to maintain cache update on different memcached servers?

Ivan Krstić krstic at solarsail.hcs.harvard.edu
Tue Oct 31 17:36:23 UTC 2006


Sam G. wrote:
> I understand memcache may not return
> any results, and that's okay because this is all assuming a database
> backend... but can memcache actually return incorrect data?

In the scenario you describe, memcached is returning fully correct data.
The fact that it's not the data you /expect/ is not memcached's fault.
It's doing its job properly.

If this behavior bothers you, simply disable the functionality in your
client API that hashes to a different server when one is down.

-- 
Ivan Krstić <krstic at solarsail.hcs.harvard.edu> | GPG: 0x147C722D


More information about the memcached mailing list