<div class="gmail_quote">On Thu, Jan 28, 2010 at 9:19 AM, Zooko Wilcox-O&#39;Hearn <span dir="ltr">&lt;<a href="mailto:zooko@zooko.com">zooko@zooko.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

Folks:<br></blockquote><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">[snip]</blockquote><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">


This has three beneficial effects: first, if there is a server on the<br>
grid which is in a hung state such that it keeps its TCP connections<br>
open but doesn&#39;t answer queries, then with current trunk all<br>
downloads from that grid will stall indefinitely.  With #928, that<br>
hung server will have no deleterious effect on downloads at all<br>
(provided that K shares can be found on other servers).  Second, the<br>
servers which answer the query fastest are the ones that the<br>
downloader uses, which hopefully means that the servers that have a<br>
faster connection to the downloader are the ones that get used, so:<br>
faster downloads! This effect should be more pronounced on grids with<br>
heterogeneous and geographically dispersed servers than on grids with<br>
a bunch of homogeneous servers on the same LAN.  Third, servers that<br>
are busier will tend to answer the queries later, so this patch makes<br>
downloaders automatically load-balance to download shares from<br>
servers that are less busy.<br></blockquote><div><br></div><div>Whoa!</div><div>&quot;Third, servers that are busier will tend to answer the queries later, so this patch makes downloaders automatically load-balance to download shares from servers that are less busy.&quot;</div>

<div><br></div><div>There&#39;s a gem right there.... This could actually be built into the server to either 1) delay reply based on load, or 2) include some kind of load-indicating scaler (sanitized) to help the client better choose servers to download from.</div>

<div> </div><div>.... maybe. ...Complicated.</div><div><br></div><div>Oh, well.</div><div><br></div><div>jody</div></div>