On Thu, Sep 3, 2009 at 11:40 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;">
The problem that we&#39;re experiencing is that our single web server is getting &quot;flooded&quot; (not in a bad way) with a lot of incoming connections, our site is growing (yey).  So I&#39;m trying to figure out the best way to accommodate the growth.  In our case, nginx itself is humming along just fine, but PHP is choking on requests both due to quantity of requests (it can&#39;t process them fast enough so there&#39;s growing queue) as well as due to delays in database (I think).  So I&#39;m upgrading the database and looking to add another web server box both to off load some of the load, as well as serve as a backup box, etc.<div>

<br></div></blockquote><div><br>well it looks like you need to figure out where your bottleneck is.<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>What I don&#39;t know how to do &quot;well&quot; yet, is how to maintain the code base the same across the 2 boxes (will using a shared directory work?)</div><div><br></div></blockquote><div><br>sure. Better cache those files locally! this is where you&#39;ll have to do some work (ie., &quot;research&quot;) into the shared file systems to use.<br>
<br><br>-jf<br><br><br>--<br clear="all">In the meantime, here is your PSA:<br>&quot;It&#39;s so hard to write a graphics driver that open-sourcing it would not help.&quot;<br>    -- Andrew Fear, Software Product Manager, NVIDIA Corporation<br>
<a href="http://kerneltrap.org/node/7228">http://kerneltrap.org/node/7228</a><br></div></div>