You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Marcel Reutegger (JIRA)" <ji...@apache.org> on 2005/08/17 14:17:54 UTC

[jira] Created: (JCR-190) Caching in QueryHandler does not scale well

Caching in QueryHandler does not scale well
-------------------------------------------

         Key: JCR-190
         URL: http://issues.apache.org/jira/browse/JCR-190
     Project: Jackrabbit
        Type: Improvement
  Components: query  
 Environment: svn revision: 233161
    Reporter: Marcel Reutegger
 Assigned to: Marcel Reutegger 
     Fix For: 1.0


Caching in class CachingIndexReader uses too much memory. It uses around 500 bytes per node and does not use any strategy to limit the cache.

This improvement covers two goals:
- lower per-node memory cost for caching
- implement a caching strategy using e.g LRU algorithm

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Closed: (JCR-190) Caching in QueryHandler does not scale well

Posted by "Marcel Reutegger (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/JCR-190?page=all ]
     
Marcel Reutegger closed JCR-190:
--------------------------------


> Caching in QueryHandler does not scale well
> -------------------------------------------
>
>          Key: JCR-190
>          URL: http://issues.apache.org/jira/browse/JCR-190
>      Project: Jackrabbit
>         Type: Improvement
>   Components: query
>  Environment: svn revision: 233161
>     Reporter: Marcel Reutegger
>     Assignee: Marcel Reutegger
>      Fix For: 1.0

>
> Caching in class CachingIndexReader uses too much memory. It uses around 500 bytes per node and does not use any strategy to limit the cache.
> This improvement covers two goals:
> - lower per-node memory cost for caching
> - implement a caching strategy using e.g LRU algorithm

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Resolved: (JCR-190) Caching in QueryHandler does not scale well

Posted by "Marcel Reutegger (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/JCR-190?page=all ]
     
Marcel Reutegger resolved JCR-190:
----------------------------------

    Resolution: Fixed

Caching is now less memory consuming.
- Caching the hierarchy relation between indexed nodes needs approximately 25 bytes per node.
- UUID to lucene document number mapping is cached with a LRU algorithm. The default cache size is set to 1000 entries.

Implemented in svn revision: 234492

> Caching in QueryHandler does not scale well
> -------------------------------------------
>
>          Key: JCR-190
>          URL: http://issues.apache.org/jira/browse/JCR-190
>      Project: Jackrabbit
>         Type: Improvement
>   Components: query
>  Environment: svn revision: 233161
>     Reporter: Marcel Reutegger
>     Assignee: Marcel Reutegger
>      Fix For: 1.0

>
> Caching in class CachingIndexReader uses too much memory. It uses around 500 bytes per node and does not use any strategy to limit the cache.
> This improvement covers two goals:
> - lower per-node memory cost for caching
> - implement a caching strategy using e.g LRU algorithm

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira