[commits] Horde branch master updated. a8c4adabef7ac6e141db6a066eb344529a39af86
Jan Schneider
jan at horde.org
Mon Jan 11 21:25:50 UTC 2016
The branch "master" has been updated.
The following is a summary of the commits.
from: 9113764d2e43e97b0c255e20b0c93a135c428f5f
a8c4ada Rewrite garbage collection.
Summary: http://github.com/horde/horde/compare/9113764d2e43e97b0c255e20b0c93a135c428f5f...a8c4adabef7ac6e141db6a066eb344529a39af86
-----------------------------------------------------------------------
commit a8c4adabef7ac6e141db6a066eb344529a39af86
Author: Jan Schneider <jan at horde.org>
Date: Mon Jan 11 22:22:43 2016 +0100
Rewrite garbage collection.
The old GC simply didn't scale. The index of all cache files could grow HUGE. And during GC we read the complete list into memory. Twice. We only read them once now into memory, which is still necessary unfortunately. And we keep separate GC indexes per cache directory, which helps large installations that use the hash-directory feature of Horde_Cache_Storage_File.
framework/Cache/lib/Horde/Cache/Storage/File.php | 118 +++++++++++++++++----
framework/Cache/package.xml | 2 +
framework/Cache/test/Horde/Cache/FileTest.php | 73 ++++++++++++--
3 files changed, 160 insertions(+), 33 deletions(-)
http://github.com/horde/horde/commit/a8c4adabef7ac6e141db6a066eb344529a39af86
More information about the commits
mailing list