You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Tobias Bocanegra (JIRA)" <ji...@apache.org> on 2006/06/30 14:37:29 UTC

[jira] Created: (JCR-471) Create resource sensitive cache for item states

Create resource sensitive cache for item states
-----------------------------------------------

         Key: JCR-471
         URL: http://issues.apache.org/jira/browse/JCR-471
     Project: Jackrabbit
        Type: Improvement

  Components: core  
    Versions: 1.0, 1.0.1, 0.9    
    Reporter: Tobias Bocanegra
 Assigned to: Tobias Bocanegra 
    Priority: Minor


there is currently a lru-caching strategy for the itemstates in the shared ism, with a hardcoded limit of 1000 entries. the problem is that the size of the states is not respected in the caching strategy; this poses a problem, if the
states are large (i.e. large values in property states, or large number of childnode entries).

-- 
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-471) Create resource sensitive cache for item states

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

    Resolution: Fixed

added a memory sensitive cache with a default size of 8mb. the sizes of the item states are more or less accurate.

New Revision: 418263

> Create resource sensitive cache for item states
> -----------------------------------------------
>
>          Key: JCR-471
>          URL: http://issues.apache.org/jira/browse/JCR-471
>      Project: Jackrabbit
>         Type: Improvement

>   Components: core
>     Versions: 1.0, 1.0.1, 0.9
>     Reporter: Tobias Bocanegra
>     Assignee: Tobias Bocanegra
>     Priority: Minor

>
> there is currently a lru-caching strategy for the itemstates in the shared ism, with a hardcoded limit of 1000 entries. the problem is that the size of the states is not respected in the caching strategy; this poses a problem, if the
> states are large (i.e. large values in property states, or large number of childnode entries).

-- 
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] Updated: (JCR-471) Create resource sensitive cache for item states

Posted by "Jukka Zitting (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/JCR-471?page=all ]

Jukka Zitting updated JCR-471:
------------------------------

    Fix Version: 1.1

> Create resource sensitive cache for item states
> -----------------------------------------------
>
>          Key: JCR-471
>          URL: http://issues.apache.org/jira/browse/JCR-471
>      Project: Jackrabbit
>         Type: Improvement

>   Components: core
>     Versions: 1.0, 1.0.1, 0.9
>     Reporter: Tobias Bocanegra
>     Assignee: Tobias Bocanegra
>     Priority: Minor
>      Fix For: 1.1

>
> there is currently a lru-caching strategy for the itemstates in the shared ism, with a hardcoded limit of 1000 entries. the problem is that the size of the states is not respected in the caching strategy; this poses a problem, if the
> states are large (i.e. large values in property states, or large number of childnode entries).

-- 
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