[prev in list] [next in list] [prev in thread] [next in thread] 

List:       memcached
Subject:    Re: unable to invalidate objects from memcached
From:       Marcus Bointon <marcus () synchromedia ! co ! uk>
Date:       2007-10-23 16:05:07
Message-ID: 90426FBE-4DAB-41E2-BC61-1DA8C6468134 () synchromedia ! co ! uk
[Download RAW message or body]

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
-- 
Marcus Bointon
Synchromedia Limited: Creators of http://www.smartmessages.net/
UK resellers of info@hand CRM solutions
marcus@synchromedia.co.uk | http://www.synchromedia.co.uk/


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic