6.0.0-beta6
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
4/10/26
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#10072] Memcache storage is duplicating the key prefix
*
Your Email Address
*
Spam protection
Enter the letters below:
. .__ .__ .__..__ | [__)[__)| |[__) |___| | |__|| \
Comment
>> We are back to this issue, and discovered a problem on the existing >> code (patch attached) > > Slightly modified and committed (we shouldn't be changing the > function signature because we are extending the method from the base > class). Thanks for tracking this down. > >> 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? > > 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.
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers