How to evaluate the performance of web servers?

I plan to deploy a django based site. But I am confused by the choice of web servers, which includes apache, lighttpd, nginx and others.

I read several articles about the performance of each of these options. But no one seems to agree. So I wonder why not check the performance yourself?

I can not find information on the best approach to performance testing web servers. So my questions are:

  • Is there a simple approach to testing performance without a production site?
  • Or do I have a way to simulate intense traffic for honest testing?
  • How can I keep my test fair and close to the production situation?

After the test, I want to find out:

  • Why do some say that nginx has better performance when serving static files.
  • The processor and memory requirements of each web server.
  • My best bet.
+5
source share
3 answers

, ab, , , /munin/ /. , , , , . , , django, benchrun .

, HTTP- . , , , , , .

-, , - ( ) , - . Apache vs nginx django, , mod_python , nginx/lighty + FastCGI, , CGI, , . - (mod_perl vs CGI, mod_php CGI ..), .

+3

Apache JMeter - - -. -, Apache.

+2

- + - -, , .

, The Grinder (), , .

(), , , -, .

In addition, it is simply changing the content and response time, performance, memory and CPU usage, etc., to see how they change depending on which web server you use and what content you host.

+1
source

All Articles