[infinispan-dev] ISPN 200
Manik Surtani
manik at jboss.org
Wed Sep 15 08:13:52 EDT 2010
On 15 Sep 2010, at 12:56, Israel Lacerra wrote:
> Thanks Manik!! I just did not understand the last item..
>
> > - on an implementation level, the GetHItsCommand (or something like that) could return with a single hit, or N hits, with a flag of whether more hits are available or not.
This is about decoupling the sending of a query and retrieving hits. E.g.,
RunQueryCommand <-- asks remote nodes to run a query. Request contains a unique query ID? Maybe a UUID?
GetHitsCommand <-- asks for some hits. Command contains the query ID, and number of hits being asked for. (-1 = all hits?) This command returns with a list of commands + a flag telling the caller whether there are any more hits left from the node.
This is just a basic idea. I'm sure you can distil it further and improve on it. :)
HTH
Manik
--
Manik Surtani
manik at jboss.org
Lead, Infinispan
Lead, JBoss Cache
http://www.infinispan.org
http://www.jbosscache.org
More information about the infinispan-dev
mailing list