[cvs] commit: horde/docs CHANGES framework/Horde/Horde Registry.php
Michael M Slusarz
slusarz at horde.org
Thu Mar 5 07:14:26 UTC 2009
slusarz 2009-03-05 02:14:23 EST
Modified files:
docs CHANGES
Horde/Horde Registry.php
Log:
Bug: 8024
[mms] Improved caching of Registry data significantly reduces session sizes
and total session storage requirements.
Explanation:
1. First, remove config file caching. Config files are straight forward
and reading them in is a simple PHP parsing activity, so any benefit in
caching is minimal at best.
2. Move application/interfaces and api/type to 2 separate cache data objects.
Both objects depend on the current logged in user, so they are not 100%
global (i.e. admin user vs. non-admin). However, in the vast majority of
cases, this data should be the same for most users. Therefore, we are
offloading a large portion of the session size (20-30K, at minimum) which
makes the session sizes smaller. And this makes *every* session size
smaller which reduces the storage demands on the session backend.
Revision Changes Path
1.324 +298 -245 framework/Horde/Horde/Registry.php
1.1212 +2 -0 horde/docs/CHANGES
Chora Links:
http://cvs.horde.org/diff.php/framework/Horde/Horde/Registry.php?rt=horde&r1=1.323&r2=1.324&ty=u
http://cvs.horde.org/diff.php/horde/docs/CHANGES?rt=horde&r1=1.1211&r2=1.1212&ty=u
More information about the cvs
mailing list