Nginx | reverse proxy server load balancer | principle and configuration | preliminary study
Nginx | reverse proxy server load balancer | principle and configuration | preliminary study
Nginx Reverse proxyNginx load balancingUpstreamHttp proxy
192.168.1.10 // B server ==>
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
Server Load balancer is a technology that implements Load Balancing through an algorithm. In layman's terms, requests are uniformly distributed to devices,Server Load balancer will receive all requests in a unified manner, and then distribute these requests to the 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 '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 balan
[Oracle] RAC-Server Load balancer distributes loads evenly to each node in the cluster to improve overall performance. Oracle RAC provides two methods to achieve load balancing. The first is pure technical means, that is, when a user connects, the node that determines based on the current load of the system to process
In redhat9.0, lvs sets up the Server Load balancer server-Linux Enterprise Application-Linux server application information. The following is a detailed description. Install the required components:
Standard internal package linux-2.4.20-tar.gz, with the software matching the internal package s-1.0.09.tar.gz
Linux Kernel requires patching, hidden-2.4.20per10-1.diff, noarp-2.4.20-1.diff, iproute-050816-noarp
Load balancer can be used with LVS scheme, but to prevent single point of failure, you can choose lvs+keepalived combination to ensure high availability Focus : Each node synchronizes timeNtpdate time.windows.com1. Introduction to the EnvironmentOperating system: Centos6.6Dr Tops: Ipvs management tools: ipvsadm,keepalivedRealserver tops: Nginx or Apache650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/
I. Introduction of LVSLVS is a short name for Linux virtual server, the Linux web, is a free software project initiated by Dr. Zhangwensong and is now part of the Linux standard kernel. LVS is a TCP/IP-based load balancing technology that has high forwarding efficiency and the ability to process millions of concurrent connection requests.The IP load balancing technology of LVS is realized by Ipvs module. Ip
MySQL dual-host master architecture, coupled with Load Balancing Devices, can achieve high performance and high availability of mysql database load balancing, Server Load balancer equipment can be based on algorithms to database
MySQL dual-host master architecture, coupled with Loa
Preface:
The company has developed a website. The estimated maximum number of online users is 30 thousand, and the maximum number of concurrent users is 100. Whether or not the developed website can withstand this pressure and how to ensure that the load of the website is no problem, after research, it is decided as follows:
(1) Server Load balancer and cluster t
System environment: Windows XP SP3, jdk1.6.0 _ 13 software version: httpd-2.2.21-win32-x86-openssl-0.9.8r.msiapache-tomcat-6.0.33tomcat-connectors-1.2.32-windows-i386-httpd-2.2.x I was on a machine for testing, because I
System environment: Windows XP SP3, jdk1.6.0 _ 13
Software version: httpd-2.2.21-win32-x86-openssl-0.9.8r.msi apache-tomcat-6.0.33 tomcat-connectors-1.2.32-windows-i386-
Httpd-2.2.x
I did a test on a machine, because I have completed apache server
system version : Ubuntu 14.04.3 LTSServer Preparation :lb01-> ifconfig Display Result: 192.168.91.136 effect: Install keepalived and Nginxlb02-> ifconfig Display Result: 192.168.91.135 effect: Install keepalived and Nginxweb01-> ifconfig Display Result: 192.168.91.134 effect: Install Nginx is responsible for showing index.html pageweb02-> ifconfig Display Result: 192.168.91.137 effect: Install Nginx is responsible for showing index.html pageOperating principle1 Nginx acts as a Web server on WEB0
Project Practice 4-haproxy Server Load balancer and ACL control, haproxyacl
Haproxy implements advanced Load Balancing
Environment: With the development of the company's business, the company's server Load balancer service has achieved layer-4 Server
Based on the huge network structure, the use of Cluster Server brings a lot of load problems such as traffic. So the relative, load-balanced technology also emerged. Each technology requires product support, so let's now look at one of the F5 load balancers. So first of all, we first introduce the structure of the product function.Many vendors have launched a
domain name directly resolves to a server (192.168.5.149), by a server load balancer to B server (192.168.5.27) and C server (192.168.5.126).Domain Name resolutionBecause it is not the real environment, the domain name will use a a.com as a test, so a.com resolution can only be set in the Hosts file.Open: C:windowssystem32driversetchostsAdd at the end192.168.5.149 a.comSave exit and then start command mode
F5 is one of our most popular Server Load balancer products, so here we will introduce its configuration on the actual business platform. Through this case, I hope you will have a clear understanding of the specific use and configuration of this product. For more information, please refer to the following section.I. Network Topology650) this. width = 650; "border =" 0 "alt =" "src =" http://www.bkjia.com/up
Many large sites, ngixn often as a reverse proxy sever load upstream Web server with high availability mechanism to build a large Web cluster, and to build such a cluster through nginx, it is inevitable that the nginx a very important module: Load Balancer module ( Upstream), as shown below is an introduction to the Nginx Lo
192.168.16.16;
# Charset koi8-r;Charset UTF-8;# Set access logs for the current virtual hostAccess_log logs/host. access. log main;# If you access/img/*,/js/*,/css/* resources, you can directly obtain the local document without passing squid# If there are many documents, this method is not recommended because the squid cache has better results.# Location ~ ^/(Img | js | css )/{# Root/data3/Html;# Expires 24 h;#}# Enable Server Load
to modify client and server-side programs. To do this, you need to consider system transparency, scalability, high availability, and manageability at design time.650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M01/80/4B/wKioL1c9eDvBFVmAAAB49gJNA28736.png "title=" 00.png "alt=" Wkiol1c9edvbfvmaaab49gjna28736.png "/>The LVS cluster adopts three-layer structure and its main components are:1) Load Scheduler (B
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.