You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cayenne.apache.org by Tore Halset <ha...@pvv.ntnu.no> on 2006/04/27 23:42:38 UTC

jcs - something for cayenne?

Hello.

I was at a java user group meeting today. A guy talked about jcs and  
it looked great. I have not used it before, but perhaps it can be  
used in cayenne as an alternative to the commons LRUMap? Anyone here  
used jcs for anything?

http://jakarta.apache.org/jcs/

What I would like to have in cayenne is the option to have less  
caching on some of the tables.

  - Tore.

Re: jcs - something for cayenne?

Posted by Andrus Adamchik <an...@objectstyle.org>.
It would be nice if we could make caching smarter (without  
sacrificing simplicity of the default case). One thing that has been  
pending like forever is expiring cache entries. Having per-entity  
caching policy would also be sweet. So I am all for investigating and  
prototyping JCS-based cache ... as long as it doesn't add too much  
extra weight in the default simple case.

On a side note, I think we will be changing cache format from  
DataRows (that cache DB data) to some kind of object property-based  
"rows". The new 1.2 stack came very close to that already.

Andrus


On Apr 27, 2006, at 5:42 PM, Tore Halset wrote:
> Hello.
>
> I was at a java user group meeting today. A guy talked about jcs  
> and it looked great. I have not used it before, but perhaps it can  
> be used in cayenne as an alternative to the commons LRUMap? Anyone  
> here used jcs for anything?
>
> http://jakarta.apache.org/jcs/
>
> What I would like to have in cayenne is the option to have less  
> caching on some of the tables.
>
>  - Tore.
>