<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On 25 Jan 2012, at 14:22, Mircea Markus wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div>Agreed that having a configurable remote get policy makes sense.&nbsp;</div><div>We already have a JIRA for this[1], I'll start working on it as the performance results are hunting me.</div><div>I'd like to have Dan's input on this as well first, as he has worked with remote gets and I still don't know why null results are not considered valid :)</div><div><br></div><div>[1]&nbsp;<a href="https://issues.jboss.org/browse/ISPN-825">https://issues.jboss.org/browse/ISPN-825</a></div></span></blockquote><br></div><div>IMO we should work on a configurable scheme such as:</div><div><br></div><div>numInitialRemoteGets (default 1)</div><div>remoteGetTimeout (default 500ms? &nbsp;What's our average remote GET time anyway?)</div><div><br></div><div>So with this scheme, we'd:</div><div><span class="Apple-tab-span" style="white-space:pre">        </span></div><div><span class="Apple-tab-span" style="white-space:pre">        </span>* Randomly select 'numInitialRemoteGets' from dataOwners</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>* Send them the remote get</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>* After&nbsp;remoteGetTimeout, send a remote get to the next data owner, until we run out of data owners</div><div>&nbsp; &nbsp; &nbsp; &nbsp; * Return the first valid response.</div><br><div apple-content-edited="true">
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div><div>--</div><div>Manik Surtani</div><div><a href="mailto:manik@jboss.org">manik@jboss.org</a></div><div><a href="http://twitter.com/maniksurtani">twitter.com/maniksurtani</a></div><div><br></div><div>Lead, Infinispan</div><div><a href="http://www.infinispan.org">http://www.infinispan.org</a></div><div><br></div></div></span><br class="Apple-interchange-newline">
</div>
<br></body></html>