DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=34282>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=34282

           Summary: URI cache in Namespace should be configurable or be
                    removed
           Product: Slide
           Version: 2.1
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: major
          Priority: P2
         Component: Core
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


The current implementation of the URI cache in 
org.apache.slide.common.Namespace 
is memory hungry. A URI with its tokenized scopes uses several hundred bytes of 
memory and the limit of the URI cache is hardcoded at 10,000. This is no 
problem 
for a server running a single Namespace, but we have servers running more than 
10 Namespaces.

The limit of the URI cache should be made configurable, and the cache 
management 
strategy has to change from clearing it completely when the limit is reached to 
a LRU cache.

If the performance improvement of the URI cache is neglible then the cache can 
be removed completely.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to