[Tickets #13085] Re: Use memcache instead of distributed hashtable in $conf[cache][driver]
noreply at bugs.horde.org
noreply at bugs.horde.org
Mon Mar 31 07:22:25 UTC 2014
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/13085
------------------------------------------------------------------------------
Ticket | 13085
Updated By | arjen+horde at de-korte.org
Summary | Use memcache instead of distributed hashtable in
| $conf[cache][driver]
Queue | Horde Framework Packages
Version | Git master
Type | Bug
State | Assigned
Priority | 1. Low
Milestone |
Patch |
Owners | Michael Slusarz
------------------------------------------------------------------------------
arjen+horde at de-korte.org (2014-03-31 07:22) wrote:
>> That's true, but would it hurt to set the lifetime? All cache drivers
>> will default to a lifetime of '0', which means data will never be GC.
>
> Memcache does not need GC and, thus, doesn't need lifetimes.
This remark wasn't limited to memcache. Currently, the data that is
stored in the cache by Horde_Service_Weather doesn't set a lifetime,
which (if I understand correctly) means that it will never expire and
stay in the cache forever. So while memcache may not need this, other
cache drivers may in order for prevent the cache from filling up. For
instance, with WeatherUnderground (if users don't configure a location
in their preferences) the GeoIP lookups of mobile users may result in
loads of entries.
More information about the bugs
mailing list