I'm planing to deploy a django powered site. But I feel confused about the choice of web servers, which includes apache, lighttpd, nginx and others.
I've read some articles about the performance of each of these choice. But it seems no one agrees. So I'm wondering why not test the performance by myself?
I can't find information about the best approach to performance testing web servers. So my questions are:
- Is there any easy approach to test the performance without the production site?
- Or can I have a method to simulate the heavy traffic to have a fair test?
- How can I keep my test fair and close to production situation?
After the test, I want to figure out:
- Why some ones say nginx has a better performance when serving static files.
- The cpu and memory needs of each web server.
- My best choice.