[infinispan-dev] Why does ClusteredGetResponseValidityFilter maintain pendingResponders?
Galder Zamarreno
galder.zamarreno at redhat.com
Tue Jul 7 03:03:23 EDT 2009
Hi all,
Why does ClusteredGetResponseValidityFilter maintain a list of
pendingResponders? Wouldn't it be more efficient if needMoreResponses()
returned as soon as one positive response has been received regardless
of who's pending to return anything? I'm assuming here that
SuccessfulResponse means that the clustered get returned what we're
trying to get.
I implemented a very similar thing for HAJNDI in such way that as soon
as a look up had succeed, we wouldn't wait for anyone else.
Cheers,
--
Galder ZamarreƱo
Sr. Software Engineer
Infinispan, JBoss Cache
More information about the infinispan-dev
mailing list