How to reasonably compare IIS vs nginx and view the performance of IIS and nginx

Source: Internet
Author: User

This is a war post, fire! In a previous discussion, Lao Zhao insisted that the performance of IIS is not inferior to that of nginx, but many linuxer believed that the powerful nginx is the IIS killer, so today I want to discuss with you how to compare the performance of web servers fairly and fairly. We hope to help those who are selecting the system.

I was going to look for a machine for a comparative test today. However, the remark from a Daniel gave me a chance to get rid of this idea.

First, we must acknowledge that iocp, epool, and kqueue are essentially no different, for mature commercial companies and global open-source organizations, the final implementation efficiency will not be much different. This is the basis of the discussion. It is not enough to argue that the avid anti Ms molecule is useless for Windows. Of course, it is impossible to immediately fight back when it comes to Windows.

Second, aside from the performance differences of the application server, Asp. net or Java, and so on. In general, the web server will not be down before the application server is down, by borrowing the lines of the world's best bra. Therefore, the processing capability of web servers is much higher than that of application servers. Now we can compare the processing capability of static files.

It is meaningless to compare the processing capability of static files and the processing performance of large files. The bandwidth of large file transmission is not the server performance. Therefore, we need to compare the concurrent processing capabilities of small files. Because the advantages and disadvantages of the network layer are not obvious, the final impact is the advantages and disadvantages of the file system, this is also the main reason for removing me from testing: There are several file systems that can be selected in Linux, and my vacation is ruined by one test.

Now that the Organization is clear, the test is to compare the file system performance available in NTFs and Linux, such as ext3, ext4, and reiserfs, in fact, this is also the reason for the differences between IIS and nginx test results, while there are too many factors affecting Linux, kernel network parameter optimization, file systems, and so on.

However, in general, without special optimization as a premise, the nginx performance in Linux exceeds that of IIS, because in a sense, it is a file-type operating system. A device is mounted to a file symbol and processed as a file. It is more capable of processing files than windows.

Of course, Windows2003 ~ I have never tested the performance improvement of 2008. Is there a general improvement in 2008? It is still unknown to me, but from another perspective, if there is still much room for improvement in 2008, it means there are still a lot of unreasonable aspects, so there is room for optimization, isn't it?

Finally, I hope that the students who have the opportunity to compare the practice can give convincing tests and data. Or should I sacrifice my vacation to finish the test? Which of the following good guys can provide me with extra machines?

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.