You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cayenne.apache.org by Borut BolĨina <bo...@gmail.com> on 2008/08/24 17:54:36 UTC

Re: Caching query results

Hi,

there is still no info/examples about OSCache usage at
http://cayenne.apache.org/doc/caching-and-fresh-data.html. Is there anything
in the oven?

Cheers,
Borut

2006/9/25 Andrus Adamchik <an...@objectstyle.org>

>
> In 3.0 we added three things - RefreshQuery (mentioned by Ari), "query
> cache group" concept, and pluggable QueryCache. This makes clustering and
> refresh policy management much simpler. I am running this latest code (3.0
> trunk essentially) in pre-production environment on a cluster using
> OSQueryCache and it work extremely well.
>
> I am going to document it better at some point (maybe even write an
> article). For now please post on the list if you have more questions about
> that. Essentially I do something like this:
>
> dataDomain.setQueryCacheFactory(new OSQueryCacheFactory());
>
> and then configure "oscache.properties" with group refresh policies (see
> OSQueryCache javadocs and OSCache framework documentation for details).
>
>