[infinispan-issues] [JBoss JIRA] (ISPN-4848) Offer way to implement includeCurrentState based on indexed query

Emmanuel Bernard (JIRA) issues at jboss.org
Wed Oct 15 07:50:35 EDT 2014


Emmanuel Bernard created ISPN-4848:
--------------------------------------

             Summary: Offer way to implement includeCurrentState based on indexed query
                 Key: ISPN-4848
                 URL: https://issues.jboss.org/browse/ISPN-4848
             Project: Infinispan
          Issue Type: Feature Request
            Reporter: Emmanuel Bernard
            Assignee: Mircea Markus


Based on the infinispan-dev mailing list discussion from September 2014 titled
'Feedback and requests on clustered and remote listeners'.

Loading the whole state of the data grid to then filter / convert them can be costly especially if data has been passivated.

An alternative could be offered that would delegate the includeCurrentState filtering with a global indexed query. That query would need to be provided by the user. While the query is run, the list of change events matching should be piled up and released once the query has be run and the converted events are send to the clustered listener.

Maybe that should be only done for "continuous" queries as we could use the query for both the initial and continuous side of the query transparently.



--
This message was sent by Atlassian JIRA
(v6.3.1#6329)


More information about the infinispan-issues mailing list