[dev] [commits] Horde branch master updated. d5ef43754ddef15a85c9d80fccbd1923857f615c

Michael M Slusarz slusarz at horde.org
Tue Apr 8 08:28:27 UTC 2014


Quoting Jan Schneider <jan at horde.org>:

> Zitat von Michael M Slusarz <slusarz at horde.org>:
>
>> commit aa643527d85dbe874c51e21185df3c2c28bc5a42
>> Author: Michael M Slusarz <slusarz at horde.org>
>> Date:   Mon Apr 7 16:24:54 2014 -0600
>>
>>    Always use in-memory cache on top of permanent cache storage system
>>
>> framework/Core/lib/Horde/Core/Factory/Cache.php |   10 +++++++++-
>> framework/Core/lib/Horde/Core/Factory/Perms.php |    6 +-----
>> framework/Core/package.xml                      |    2 +-
>> 3 files changed, 11 insertions(+), 7 deletions(-)
>>
>> http://github.com/horde/horde/commit/aa643527d85dbe874c51e21185df3c2c28bc5a42
>
> Am I missing something or won't this completely blow up memory usage  
> of PHP processes since anything ever written or read from cache  
> during a request will be kept in memory?

What are we caching that is of any substantial size?  We are talking  
about KBs, and minimal KBs at that.  (We definitely aren't talking  
about MBs, since we have multiple cache backends that can't handle  
this e.g. memcache).

Saving a single unnecessary cache retrieval is more than worth the  
minimal memory usage to prevent it.

michael

___________________________________
Michael Slusarz [slusarz at horde.org]



More information about the dev mailing list