Bunch of questions about memcache

Anatoly Vorobey mellon at pobox.com
Tue Nov 30 07:46:59 PST 2004


On Tue, Nov 30, 2004 at 10:17:35AM -0500, Chris Hartjes wrote:
> 1) how many memcache servers can be up and running before the amount
> of time the client spends more time checking numerous memcache servers
> than it would if it got the results from a very large database
> containing 1.5 million+ records

Arbitrarily many, the client always checks just one memcache server for any
given key.

> 2) what happens when memcache is full and you ask it to add something
> in?  How does it decide what key/value pair to turf out to make room?

Currently it's roughly "that key/value pair of roughly the same size (as
what you're trying to add) that hasn't been requested by any client for the 
longest time".

-- 
avva
"There's nothing simply good, nor ill alone" -- John Donne



More information about the memcached mailing list