cache miss even if the value exists?
Dustin Sallings
dustin at spy.net
Fri Nov 2 04:39:24 UTC 2007
(please try to start a new thread for a new subject instead of
continuing an existing one)
On Nov 1, 2007, at 7:04 PM, Peter Chiu wrote:
> Is it possible to have a cache miss even if the value exists (given
> there's no problem with the network and the server loads are under
> control)?
There is no guarantee that you'll get a value back after storing it.
You should never rely on values being in the cache.
On an isolated server with a single client that adds a single value,
it *should* be there if you try to get it immediately afterwards, but
you should generally assume a cached value may not be there.
--
Dustin Sallings
More information about the memcached
mailing list