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

bugs at horde.org bugs at horde.org
Mon May 23 18:27:18 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              | Unconfirmed
  Priority           | 1. Low
  Milestone          |
  Patch              | 1
  Owners             |
+New Attachment     |  
0001-Pass-the-correct-key-to-expire-exists-methods-of-Mem.patch
------------------------------------------------------------------------------


goncalo.queiros at portugalmail.net (2011-05-23 18:27) wrote:

We are back to this issue, and discovered a problem on the existing  
code (patch attached)

We agree that this is a conceptual problem, but it also doesn't make  
sense having the Horde_Cache_Storage_Memcache + Horde_Memcache  
duplicating the key prefix since one always calls the other.

We could maybe pass an empty prefix when we build the  
Horde_Cache_Storage_Memcache object based on the already prefixed  
Horde_Memcache in Horde_Core_Factory_Cache. We are only looking to the  
cache keys because we have a cache hit around 50% (which seems very  
low). Is this the expected hit rate?






More information about the bugs mailing list