[infinispan-dev] [infinispan-internal] Continuous Queries

Mircea Markus mmarkus at redhat.com
Thu Oct 17 08:28:18 EDT 2013


This is a general question so moving it to infinispan-dev.

On Oct 17, 2013, at 1:13 PM, Divya  Mehra <dmehra at redhat.com> wrote:

> Continuous Queries is a question we often get from JDG prospects.
> 
> With Querying expected to be fully supported in Library mode and Events/Listeners already available in Library mode, is there a way an application developer would achieve a continuous query in Library mode by writing a snippet of code leveraging Querying and Listeners?

No. The mechanism behind continuos query is "clustered listeners": instead of running the same query 1000 times/sec, you build the query result once and update it during every cache insert/delete/update.

> 
> That is, a feasible path to achieve this functionality in JDG 6.2 via some custom coding, even though it is not the most efficient path (because Continuous Queries are not available out of the box).

You can always repeatedly query the cache, but that's not exactly continuos query.

> 
> Thanks,
> Divya

Cheers,
-- 
Mircea Markus
Infinispan lead (www.infinispan.org)







More information about the infinispan-dev mailing list