Analysis of LNMP website architecture scheme

Source: Internet
Author: User
Tags mail mysql php programming php programming language cpu usage mysql database linux

LNMP (linux-nginx-mysql-php) Web architecture is currently the international popular web framework, the framework includes: Linux operating system, Nginx network server, MySQL database, PHP programming language, all components are free open source software, These four kinds of software together, become a free, efficient Web service system.

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

Nginx is a small and efficient Linux Web server software, has been on some large web sites for many years, many domestic and foreign portals, industry sites are also used nginx, fairly stable.

The main features of nginx are stability, rich function, simple installation configuration and low system resources. Nginx has good support for reverse proxies and load balancing. Nginx can be done not only as a Web server, but also as a load-balancing server, proxy server and mail server.

As a Web server, Apache,nginx uses fewer resources to support more concurrent connections, Nginx handles static files, index files, and automatic indexing is highly efficient and more efficient.

As a proxy server, Nginx can realize the reverse proxy acceleration without caching, and improve the speed of web site operation.

As a load balancing server, Nginx can support both rails and PHP internally, as well as HTTP proxy servers, while also supporting simple fault tolerance and leveraging algorithms for load Balancing; 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 to develop this product is also as a mail proxy server).

Installation configuration, Nginx installation is simple, flexible configuration, the configuration file is very concise (also able to support Perl syntax), performance, Nginx is specifically designed for performance optimization, very focused on efficiency. It uses the poll model, can support more concurrent connections, maximum support for 50,000 concurrent connections, and use only very low memory resources, availability, NGINX support hot deployment, very fast start-up, can be uninterrupted service in the case of software version or configuration upgrades, Run in a few months without restarting, and you can almost do 7*24 display uninterrupted.

Visible, LNMP (linux-nginx-mysql-php) These four kinds of software combination, can become a free, efficient, scalable website service system.



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.