factors, data segmentation is very necessary. We use free MySQL and cheap server or even a PC cluster, to achieve the effect of minicomputer + large business db, reduce the amount of capital investment, reduce operating costs, why not? So, we choose Sharding, embrace sharding.How to Do data segmentationData Segmentation can be physical , the data through a series of segmentation rules to distribute the data to different DB servers, routing rules to a
, providing system availability and making good fault isolation. Combining the above factors, data segmentation is very necessary. We use free MySQL and cheap server or even a PC cluster, to achieve the effect of minicomputer + large business db, reduce the amount of capital investment, reduce operating costs, why not? So, we choose Sharding, embrace sharding.How to Do data segmentationData Segmentation can be physical , the data through a series of s
can take full advantage of the various processing capabilities of multiple machines while avoiding single points of failure, providing system availability and making good fault isolation. Combining the above factors, data segmentation is very necessary. We use free MySQL and cheap server or even a PC cluster, to achieve the effect of minicomputer + large business db, reduce the amount of capital investment, reduce operating costs, why not? So, we cho
availability and scalability
Better use of server resources
Make the applicationProgramAnd supports satellite deployment management and hot replacement.
Lower management costs, making shared host deployment possible
ARR is based on the URL rewrite module. It detects HTTP requests sent from the client to make request routing decisions.
Next, let's take a look at some features of ARR:
1. Request Routing decisions m
In the past, running a large web application meant running a large web server. Because your application attracts a large number of users, you will have to add more memory and processors to your server. Today, the 'large server' mode has passed and replaced it with "> In the past, running a large web application meant running a large web server. Because your application attracts a large number of users, you will have to add more memory and processors to your server.
Today, the 'large server' mode
Today, the 'large Server' model has passed, replacing it with a large number of small servers, using a variety of load balancing technologies. This is a more feasible way to minimize hardware costs.
The 'more servers' mode has more advantages than the 'large Server' mode in the past. It is reflected in two aspects:
1. If the server goes down, the Server Load
In the past, running a large web application meant running a large web server. Because your application attracts a large number of users, you will have to add more memory and processors to your server. Today, the 'large server' model has passed, replacing it with a large number of small servers, using a variety of load balancing technologies. This is a more feasible way to minimize hardware costs.
The 'mor
statements that make the data change, then parses the SQL statements, analyzes their execution plan and execution costs, and chooses whether to synchronize the data or synchronize the SQL statements to other databases. This situation is useful when adjusting the table structure or changing data in bulk.3. Advantages and Disadvantages(1) Strong extensibility: When the system to higher database processing speed, as long as simply increase the database
you've seen me about LVS/DR mode, it is found that the process is essentially the same. 4 , AdvantagesTUN mode can solve DR mode can not cross the network segment of the problem, or even across the public network. 5 , Summaryfor large-scale Web sites, use aloneLVSis still not enough, generally still have to cooperateNginx or Apachedo load balancing. The simplest thing to do at this timeLvs+nginx/haproxy(NginxThe official version is not now4Layer Agen
haproxy, in the Haproxy configuration file There is the following paragraphListen stats bind:10086 stats enable stats uri/admin?stats Stats Auth admin:admin stats ad Min if TRUEThis configuration allows us to view and modify the Haproxy statistics interface in the browser to enable the relevant parameters, enter Http://172.18.67.33:10086/admin?stats in the browser, the following status will appear, enter the account and password, The Haproxy related parameter Configuration page is entered.In th
of the featureNext we test the characteristics of the haproxy, in the Haproxy configuration file There is the following paragraphListen stats bind:10086 stats enable stats uri/admin?stats Stats Auth admin:admin stats ad Min if TRUEThis configuration allows us to view and modify the Haproxy statistics interface in the browser to enable the relevant parameters, enter Http://172.18.67.33:10086/admin?stats in the browser, the following status will appear, enter the account and password, The Haproxy
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.