title: Should i use nginx for my image hosting site with high traffic?
body: <p>I am suggested by a friend to use nginx for my site <a href="http://www.imgzzz.com" rel="nofollow">http://www.imgzzz.com</a> . its an image hosting site with loads of traffic. </p>
  
  <p>Currently im on a vps ..CentOS 5.4 x64 , Apache</p>
  
  <p>Most views are on image pages. So far to decrease the load on server i have done cache of almost all data like user details, image name, path, category details etc. </p>
  
  <p>Still i have to go with about 3 sql queries every page/view. </p>
  
  <ol>
  <li>Addition of Views</li>
  <li>Displaying Views</li>
  <li>Addition of user ad views with respect to their ads shown</li>
  </ol>
  
  <p>Considering the traffic from social media sites like digg, stumbleupon. per second online user peaks upto 1500-2500. So i guess you can get the idea of php queries per second.. Sometimes it causes the server to lag.</p>
  
  <p>The rest of the stuff on  image pages is static. So now do you guys suggest nginx or any other better option for my server? </p>
  
  <p>Thanks in advance :) 
  Edit : This is a custom system not any cms</p>