You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by Alex Karasulu <ak...@apache.org> on 2011/06/22 10:58:10 UTC

Cache Configuration in DIT? (Was: Re: svn commit: r1138250 - in /directory/apacheds/trunk: core-api/src/main/resources/directory-cacheservice.xml core/src/main/java/org/apache/directory/server/core/authz/GroupCache.java)

Having seen this and the XML based configuration I was wondering if in
the future it would be possible for us to be able to manage cache
configuration in the DIT?

Ehcache must have a means for us to manage configuration in different
sources. If not I guess adding it would not be so difficult.

Thoughts?

Regards,
Alex

On Wed, Jun 22, 2011 at 2:50 AM,  <el...@apache.org> wrote:
> Author: elecharny
> Modified: directory/apacheds/trunk/core-api/src/main/resources/directory-cacheservice.xml
> URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/core-api/src/main/resources/directory-cacheservice.xml?rev=1138250&r1=1138249&r2=1138250&view=diff
> ==============================================================================
> --- directory/apacheds/trunk/core-api/src/main/resources/directory-cacheservice.xml (original)
> +++ directory/apacheds/trunk/core-api/src/main/resources/directory-cacheservice.xml Tue Jun 21 23:50:30 2011
> @@ -111,7 +111,7 @@
>                on disk is needed to swap the data if it is too much to hold in memory -->
>        <cache name="groupCache"
>               maxElementsInMemory="10000"
> -                  eternal="false"
> +                  eternal="true"
>                   overflowToDisk="true"
>                   diskSpoolBufferSizeMB="20"
>                   timeToIdleSeconds="300"

Re: Cache Configuration in DIT? (Was: Re: svn commit: r1138250 - in /directory/apacheds/trunk: core-api/src/main/resources/directory-cacheservice.xml core/src/main/java/org/apache/directory/server/core/authz/GroupCache.java)

Posted by Alex Karasulu <ak...@apache.org>.
On Wed, Jun 22, 2011 at 12:13 PM, Emmanuel Lecharny <el...@gmail.com> wrote:
> On 6/22/11 10:58 AM, Alex Karasulu wrote:
>>
>> Having seen this and the XML based configuration I was wondering if in
>> the future it would be possible for us to be able to manage cache
>> configuration in the DIT?
>
> he :) As I was reviewing the initialization process this morning in the
> train, I just noted this on a side note :
>
> initialize() :
> 3.1) Create and initialize the cache service TODO : make it configurable
> through the DIT
>
> Yeah, definitively.

Cool !

Re: Cache Configuration in DIT? (Was: Re: svn commit: r1138250 - in /directory/apacheds/trunk: core-api/src/main/resources/directory-cacheservice.xml core/src/main/java/org/apache/directory/server/core/authz/GroupCache.java)

Posted by Emmanuel Lecharny <el...@gmail.com>.
On 6/22/11 10:58 AM, Alex Karasulu wrote:
> Having seen this and the XML based configuration I was wondering if in
> the future it would be possible for us to be able to manage cache
> configuration in the DIT?

he :) As I was reviewing the initialization process this morning in the 
train, I just noted this on a side note :

initialize() :
3.1) Create and initialize the cache service TODO : make it configurable 
through the DIT

Yeah, definitively.


-- 
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com