Hi Oliver,

Thanks for the info. I'm waiting for your ExtendedStore :-) and read the
StandardStore.
 
What do you mean with : 
>>This implementation could be the basis to implement binding and 
>>searching, too.

Maybe a stupid/newbie question : is it no interesting to integrate product
like Lucene into Slide in order to support indexing and search. I plan to
use a search mechanism into my application but I'm just wondering if the
Slide query helper is ready or maybe it is more interesting to use product
like Lucene - What do you think about that ?


Regards,
Christophe

-----Original Message-----
From: Oliver Zeigermann [mailto:[EMAIL PROTECTED] 
Sent: jeudi 6 novembre 2003 8:35
To: Slide Users Mailing List
Subject: Re: Cache


Hi Christophe,

this is exactly what I asked myself before.

Currently, caching is done in StandardStore in the 
org.apache.slide.store package in the share part. All kinds of objects 
are stored except for content. Caching can be switched off for 
individual underlying stores changing a method, but not by 
configuration. I did this for some testing and can not recommend to 
switch off caching, as things get *really* slow. A factor of 10 to 100 
is realistic. This cache has write-thru characteristics, which means all 
write operation go to the store as well. So, there is no special 
synchronization needed (as would be needed with write-back).

Unfortunately, several people noticed many weakness of that 
implementation independently of each other, including:
- Caching size can not be configured
- Content is not cached
- Caches often get cleared unjustified
- No real isolation of transactions
- No rollback of caching entries possible

That's way I decided to rewrite StandardStore with its caching calling 
it ExtendedStore. It's finished now and works fine, but has not been 
checked in, yet. I will do so as soon as I will be granted commit rights :)

This implementation could be the basis to implement binding and 
searching, too.

Oliver

Christophe Lombart wrote:

> Hi all,
> 
> 
> I'm looking in the code where Slide is making some caching on
> objectnode, revision descriptor, ....
> I suppose Slide is making this kind of stuff. Can you point me to the 
> rigth code which is doing it ?
> 
> If caching is apply on Slide objects,
> 
> Is it possible to change chache parameters (size, ...) ?
> How is synchronize with the stores ?
> What king of object are cached ?
> It is possible to disable the cache ?
> 
> Regards,
> Christophe
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> .
> 




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

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

Reply via email to