Lamp Website Architecture Explanation

Source: Internet
Author: User

    • For large-traffic, large-volume Web site system architecture, in addition to the use of high-performance hardware server, load Balancing, CDN, and so on, the software architecture needs to focus on the following aspects: the use of high-performance operating system (OS), high-performance Web server (Web servers), High-performance database, high-efficiency programming language, and more.
    • Specific solutions are as follows: 1, squid + Apache + PHP + eaccelerator using Apache payload PHP, using squid for caching, HTML or picture requests can be directly returned to the user by squid. This architecture is used by many large websites. 2, Nginx/apache + PHP (fastcgi) + eaccelerator using Nginx or Apache load php,php use fastcgi mode of operation, high efficiency. 3, Nginx + Apache + PHP + eaccelerator This scheme synthesizes the advantages of Nginx and Apache, using Apache load Php,nginx is responsible for parsing other Web requests, using Nginx rewrite module, Apache Port is not open. Database open source database, MySQL in performance, stability and functionality is the first choice, can achieve millions of data storage, the site can initially put MySQL and Web server together, but when the traffic reached a certain scale, the MySQL database should be independent from the Web server, Run on a separate server while maintaining a stable connection between the Web server and the MySQL server. When database traffic reaches a higher level, consider using a solution such as a DB cluster such as MySQL cluster or a library table hash. Overall, the lamp architecture site performance will be much better than the Windows IIS + ASP + access (such as Moonlight blog) Such a site, can load the traffic is also very large, domestic large number of personal sites if you want to support large traffic, the use of lamp architecture is a good solution.

Lamp Website Architecture Explanation

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.