yes it l b great if fair proxy balancer is added to nginx trunk<br><br><div class="gmail_quote">On Jan 31, 2008 2:31 PM, David Pratt &lt;<a href="mailto:fairwinds@eastlink.ca">fairwinds@eastlink.ca</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Grzegorz. This gives me a much better idea of what to expect. Thank<br>you for this. I am curious whether you have you done anything in the way<br>of comparing the effectiveness of the fair proxy balancer to other<br>balancing schemes like haproxy or lvm. Speed is a big factor for<br>
deployments so hoping speed will be good with the simplicity that this<br>option presents. Many thanks.<br><div class="Ih2E3d"><br>Regards,<br>David<br><br>Grzegorz Nosek wrote:<br></div><div><div></div><div class="Wj3C7c">
&gt; On Thu, Jan 31, 2008 at 01:29:32PM -0400, David Pratt wrote:<br>&gt;&gt; Hi Grzegorz. I appreciate your explanation. It would be more convenient<br>&gt;&gt; to compile as an option since I am using an automated build process. If<br>
&gt;&gt; it is self contained, can you forsee any problems building with most<br>&gt;&gt; current 0.5.x branch or is this strictly 0.6.x? Also, what is the<br>&gt;&gt; request threshold that triggers the issue with round robin issue that I<br>
&gt;&gt; am aware. Many thanks.<br>&gt;<br>&gt; The module works with 0.5.x as well as 0.6.x (if it doesn&#39;t work for<br>&gt; you, please mail me with a bug report).<br>&gt;<br>&gt; There&#39;s no threshold per se, it&#39;s just that the original load balancer<br>
&gt; directs requests strictly round robin, i.e. 0-1-2-3-0-1-2-3 etc. This<br>&gt; ensures that every backend gets the same number of requests.<br>&gt;<br>&gt; upstream_fair always starts from backend 0 and works its way up until it<br>
&gt; finds an idle peer (more or less). If your load effectively uses a<br>&gt; single backend at one time, it&#39;ll always be backend 0. If it uses the<br>&gt; power of two backends, they&#39;ll be 0 and 1 etc. Thus the first backend<br>
&gt; will always have the most requests served, the second one will have more<br>&gt; than the third etc.<br>&gt;<br>&gt; Best regards,<br>&gt; &nbsp;Grzegorz Nosek<br>&gt;<br>&gt;<br><br></div></div></blockquote></div><br>