I have been testing the new Memory cache functionality, and have a few 
comments (and questions).  For comments, is it better to simply post 
here, or should I open JIRA tickets?  In any case, the first set of 
comments are

1) In the 'Caching Defaults' admin screen, ideally move the general 
cache setup parameters out of the 'Default Layer' section - they are not 
layer specific, and having them there forces people to activate default 
settings, even if they do not wish new layers to participate in caching.

2) For the 'Cache Eviction Policy' - it is not accepting the LRU and LFU 
options from the list.  If these will not be used for memory cache, 
perhaps remove from the drop down list.

3) For the cache statistics section
     a) Having both a Hit and Miss percentage is not really critical 
(miss = 100 - hit)
     b) For Cache Memory Occupation - it would also be nice to have the 
maximum observed (in this session) level.  This can be used to tell if 
you need to allocate more memory for the cache.
     c) I have not done extensive checking on this, but the actual 
memory consumption on my Tomcat instances I am using for testing (which 
are otherwise identical to a V2.7 install) are using considerably more 
memory (5GB vs 2GB).  This might be due to the build (debug stuff), but 
the cache numbers indicated here (15MB) are only a fraction of the 
delta.  Either the cache is using much more than shown, or there is some 
other factor.

The immediate question I have is if there is some plan to support layer 
specific selection of the caching store (none, Disk, Memory, ...)?  If 
not, will the memory store 'Persistence enabled' mode only be global, or 
can it be selected on a per-layer basis (there are no setting for this 
on individual layers now)?

Thanks


------------------------------------------------------------------------------
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to