Re: Caching query results

From: Borut Bolčina (borut.bolcin..mail.com)
Date: Sun Aug 24 2008 - 11:54:36 EDT

  • Next message: Borut Bolčina: "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 <andru..bjectstyle.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).
    >
    >



    This archive was generated by hypermail 2.0.0 : Sun Aug 24 2008 - 11:55:23 EDT