Chapter 1: Overall architecture of high-performance Web macro architecture

Source: Internet
Author: User
Tags nginx reverse proxy
: This article mainly introduces the first chapter: the overall architecture of the high-performance Web macro architecture. if you are interested in the PHP Tutorial, refer to it. The following blog posts will provide you with a relatively simple macro-architecture solution and detailed implementation and deployment tutorials.


The preceding cluster environment is described as follows (2 indicates the number of services or software, that is, multiple identical services exist ):

1. Nginx Reverse proxy server (Nginx2, Keepalived2, and yum source 1): all user requests are distributed by nginx Reverse proxy, it also implements simple load balancing (using sticky sessions) and implements the master-slave relationship of nginx through Keepalived;

2. Application Servers (Tomcat 2, ActiveMQ2, NodeJS2, Memcached2, and Heartbeat2): Tomcat and nodejs use nginx for management and distribution, and mq uses its own failover method for disaster tolerance, memcached uses heartbeat to manage and implement dual-start disaster tolerance;

3. relational database cluster (mysql2 and Keepalived2): mysql is the master and slave nodes, and Keepalived is used for unified external access. in this cluster, mysql is a configuration database that manages user data, navigation data. Why not use nginx? Later

4. Hbase database clusters (NameNode2, Zookeeper3, JournalNode3, HMaster2, RegionServer4, and DataNode4): There is no need to worry too much about Hbase database clusters. I believe everyone knows this.

Next, let's build this seemingly huge macro-architecture together ....

The first chapter describes the overall architecture of the high-performance Web macro-architecture, including some content. I hope that my friends who are interested in PHP tutorials will be helpful.

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.