Integrate the GWC disk-quota module
-----------------------------------
Key: GEOS-4164
URL: http://jira.codehaus.org/browse/GEOS-4164
Project: GeoServer
Issue Type: Sub-task
Components: GWC
Affects Versions: 2.1-beta1
Reporter: Gabriel Roldán
Assignee: Gabriel Roldán
Fix For: 2.1-beta2
The GWC disk quota module allows to set global and per layer limits on the cache disk usage.
When a layer exceeds it's configured quota tiles are expired (removed) until it's quota is reached back, using a configured expiration policy. Expiration policies can be LRU (for Least Recently Used) and LFU (for Least Frequently Used).
When a layer has no explicit quota but there's a global quota, and the global quota is exceeded, the usage statistics for all the layers are aggregated and the globally configured expiration policy truncates them according to the policy's strategy. This way, if the global policy is LFU, layers that are more used during time will get larger cache sizes, and if it's LRU layers that were most recently used will get larger cache shares.
(aside: for the global cache expiration policy it seems to make the most sense to use the LFU expiration policy).
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira