[Tickets #10072] Re: Memcache storage is duplicating the key prefix

bugs at horde.org bugs at horde.org
Tue May 24 15:39:59 UTC 2011


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/10072
------------------------------------------------------------------------------
  Ticket             | 10072
  Updated By         | goncalo.queiros at portugalmail.net
  Summary            | Memcache storage is duplicating the key prefix
  Queue              | Horde Framework Packages
  Version            | Git master
  Type               | Bug
  State              | Feedback
  Priority           | 1. Low
  Milestone          |
  Patch              | 1
  Owners             | Michael Slusarz
------------------------------------------------------------------------------


goncalo.queiros at portugalmail.net (2011-05-24 15:39) wrote:

> Memcache will have a mediocre hit rate because we do locking within  
> memcache itself.  So there will be a lot of cache misses - every  
> write will necessarily have a miss before.

Investigating this further we found out that it isn't related with  
locking, since setting $conf['memcache']['large_items'] to false will  
increase memcache hits to around 96%. So the problem is due to the get  
misses generated when trying to get the respective _os keys of items  
that are not large items.

We have been thinking about a fix for this problem, but since its not  
related with the original bug, i will post to the dev the solution  
we've gotten to.







More information about the bugs mailing list