You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-dev@jakarta.apache.org by bu...@apache.org on 2005/04/04 10:12:30 UTC

DO NOT REPLY [Bug 34282] New: - URI cache in Namespace should be configurable or be removed

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: slide-dev@jakarta.apache.org
        ReportedBy: johan@hippo.nl


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: slide-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-dev-help@jakarta.apache.org