Deal all,<br><br>Since I was begging for answers in &quot;<span id=":1wa" class="VrHWId">Server optimizations for php</span>&quot; thread&nbsp; and now have gone through some of it, I would like to share some of the details.<br>
<br>The goal was to move away from a apache+mod_php to nginx+fast-cgi and in the mean time also separate requests that should be dealt separately (very common file such as prototype.js etc)<br><br>We are a cms hosting company and we dont have one BIG website, we have thousands of small websites that really share everything with the same system.<br>
<br>Here is a small current diagram: <a href="http://static.worldsoft-cms.info/doc/graphs/cms_v1.8.jpg">http://static.worldsoft-cms.info/doc/graphs/cms_v1.8.jpg</a><br>and some commentary about it.<br><a href="http://www.wiki.worldsoft.ch/index.php/Worldsoft_CMS_Infrastructure_Version_1.8">http://www.wiki.worldsoft.ch/index.php/Worldsoft_CMS_Infrastructure_Version_1.8</a><br>
<br><br>This is just one part of our business where nginx is deployed ans is powering 20K+ websites of trivial to very complex structure.<br><br><span>Moving away from apache to nginx+php-fpm was a good experience over all (not blaming apache or anything, just a good experience)<br>
You may want to compare with the last version , which did not scale .<br></span><a href="http://static.worldsoft-cms.info/doc/graphs/cms_v1.7.jpg">http://static.worldsoft-cms.info/doc/graphs/cms_v1.7.jpg</a><br><br><br>
-- <br>best regards<br>Atif Ghaffar<br>