On Thu, Sep 3, 2009 at 11:10 AM, Ilan Berkner <span dir="ltr">&lt;<a href="mailto:iberkner@gmail.com">iberkner@gmail.com</a>&gt;</span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Maybe I&#39;m not explaining myself correctly, maybe your suggestions are the right way to go, but I see a lot of nginx examples such as this:<div><br></div><div><span style="font-family: lucida,arial,sans-serif; font-size: 12px; border-collapse: collapse;"><table style="border-collapse: collapse; text-align: left; background-color: rgb(204, 204, 255); width: 993px;" cellpadding="2" cellspacing="2">

<tbody style="border-top-width: 0px;"><tr><td style="font-family: lucida,arial,sans-serif; font-size: 12px;">upstream phpproviders {<br>        server <a href="http://127.0.0.1:3000" target="_blank">127.0.0.1:3000</a>;<br>

        server <a href="http://127.0.0.1:3001" target="_blank">127.0.0.1:3001</a>;<br>        server <a href="http://127.0.0.1:3002" target="_blank">127.0.0.1:3002</a>;<br>    }<br></td></tr></tbody></table></span><br></div>
</blockquote><div><br>:) yeah, that works fine. I just saw the phrase &quot;additional (fastcgi) requests&quot; - and immediately thought u meant to refer to a priority system... (ie. where &quot;all requests go to this box. Until it&#39;s loaded. Then send the additional requests to that other box!&quot;)<br>
<br> <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div></div><div>In this example, different port numbers are used, but you can use different ip addresses.</div>

<div><br></div><div>inside the location / tag you would specify:</div><div><br></div><div>proxy_pass <a href="http://phpproviders" target="_blank">http://phpproviders</a></div><div><br></div><div>nginx in the simplest (default mode) would round robin the requests.</div>

<div><br></div><div>Is this not a good type of methodology?</div><div><br></div></blockquote><div><br>it depends really on what you want/need. If you want a simple setup, this could do. And if there is nothing requiring you to stick each request to any particular server (since you have session management in memcache; assuming you have enough memory, and dont have to forcibly retire sessions ahead of their intended expiry time!!!), then this could very well work for you.<br>
<br>-Jeff<br><br></div></div>