unable to invalidate objects from memcached

Marcus Bointon marcus at synchromedia.co.uk
Tue Oct 23 16:05:07 UTC 2007

On 23 Oct 2007, at 16:55, Raj Bala wrote:

> Here's the stats output --- any thoughts would be much appreciated.
> STAT curr_items 370
> STAT total_items 394

> STAT cmd_get 4637442
> STAT cmd_set 394
> STAT get_hits 1492
> STAT get_misses 4635950

Just looks like you're not storing enough. That's a spectacularly  
inefficient cache - less than 0.003% hits! You should expect >80% in  
my experience.

Something to try - every time you get a cache miss (and thus have to  
hit the DB), store the result in the cache so that you hit it next time.

Marcus Bointon
Synchromedia Limited: Creators of http://www.smartmessages.net/
UK resellers of info at hand CRM solutions
marcus at synchromedia.co.uk | http://www.synchromedia.co.uk/

More information about the memcached mailing list