The advantages of Nginx

Source: Internet
Author: User

Linux, MySQL, PHP The advantages of these frameworks have been introduced before, LNMP and lamp is different from the Web server Nginx, then nginx compared to what advantages of Apache?

Nginx is a small and efficient Linux under the Web server Software, has been in some large sites for many years, many domestic and foreign portals, industry sites are in use Nginx, quite stable.

Nginx's main features are stable, feature-rich, simple installation configuration, low system resources. Nginx has good support for reverse proxy and load balancing. Nginx can be used not only as a Web server, but also as a load Balancer server, proxy server and mail server.

As a Web server, the use of fewer resources than Apache,nginx, support more concurrent connections, Nginx processing static files, index files, automatic indexing efficiency is very high, reflecting higher efficiency.

As a proxy server, Nginx can achieve non-cached reverse proxy acceleration, improve the speed of the site.

As a load balancer server, Nginx can support both rails and PHP internally, as well as support HTTP proxy servers for external service, and also support simple fault tolerance and load balancing using the algorithm; Nginx is written in C, whether it is system resource overhead or CPU usage efficiency. Perlbal is much better.

As a mail proxy server, Nginx is a very good mail proxy server (one of the first purposes of developing this product is also as a mail proxy server).

Installation configuration, Nginx installation is simple, flexible configuration, the configuration file is very concise (also can support Perl syntax); performance, Nginx is specially developed for performance optimization, very focused on efficiency. It uses the poll model, can support more concurrent connections, the maximum can support the number of 50,000 concurrent connections will act, and only a very low memory resources; In terms of usability, Nginx supports hot deployment, the boot speed is very rapid, can be in the case of uninterrupted service, the software version or configuration to upgrade, Running in time for months without restarting, you can almost do uninterrupted display.

Visible, Lnmp (linux-nginx-mysql-php) The combination of four kinds of software, can become a free, efficient, scalable Web services system.

The advantages of Nginx

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.