from:http://yuhongchun.blog.51cto.com/1604432/697466
Now the trend of Web site development on the use of Network Load balancing with the increase of site size according to different stages to use different technologies:One is the hardware to carry out, the common hardware has more expensive NetScaler, F5, Radware and array and other commercial load balancer, it
1. Story ReviewIn my previous blog, I built two Web servers and then built an nginx load balancer server on the front end to distribute the requests to two different servers (http://blog.51cto.com/superpcm/2095324). The previous test is not a problem because the test program is a static web site that is purely static and does not change. Later I set up on both th
port 80.The nginx download address is as follows:Nginx download: http://nginx.net/Download the version used in this test: nginx/Windows-0.8.22
Download and decompress the package to C:, and change the directory name to nginx.
Practice steps:
First:
On the local server (10.60.44.126), create a website using the port 808, for example:
IIS website binding setting
Introduction to load Balancing clusters
Main open source software LVs, keepalived, Haproxy, Nginx, etc.
The LVS belong to 4 layer (network OSI 7 layer model), Nginx belongs to 7 layer, Haproxy can be considered as 4 layer, can also be used as 7 layer
The Keepalived load balancing function is actually the LVS
services. The more famous is www.linux.com and www.real.com.II. system Structure of LVSThe server cluster system with LVS is composed of three parts: the most front-end load Balancing layer (Loader Balancer), the middle server group layer, with server array, the lowest data sharing storage layer, represented by shared storage. All applications are transparent to the user, and the user is only using the hig
First, load Balancing introduction
Main open source software LVs, keepalived, Haproxy, Nginx and so on;
The LVS belongs to 4 layer (network OSI 7 layer model), Nginx belongs to 7 layer, Haproxy can be considered as 4 layer, can be used as 7 layer;
Keepalived load balancing function is in fact L
Spring cloud Client Server Load balancer Ribbon, cloudribbonI. Server Load balancer
Load Balancing: built on the existing network structure, it provides a cheap, effective, and transparent method to expand the bandwidth of network devices and servers, increase throughput, en
Introduction to load Balancing clusters
The software that realizes load Balancing cluster is: LVS, keepalived, Nginx, Haproxy and so on. The LVS belong to four layer (network OSI model), Nginx belongs to seven layer, haproxy can be considered as four layer, also can be used as seven layer.
The Keepalived
Build a Server Load balancer cluster with LVS in Linux
Common open-source load balancing software: nginx, lvs, and keepalivedCommercial Hardware load equipment: F5, Netscale1. Introduction to LB and LVSLB clusters are short for load
1. OverviewThe first two times in this article, we have been talking about the construction of Nginx + keepalived. At the beginning of this article, we are going to honor the promise of the previous article, the following two articles we will introduce the Nginx + keepalived and LVS + keepalived to build a highly available load layer system. If you do not know ab
Bad mud: nginx load balancing, bad mud nginx Load Balancing
This article was sponsored by Xiuyi linfeng and first launched in the dark world.
Today, we will learn about nginx Server Load bala
1. OverviewThe first two times in this article, we have been talking about the construction of Nginx + keepalived. At the beginning of this article, we are going to honor the promise of the previous article, the following two articles we will introduce the Nginx + keepalived and LVS + keepalived to build a highly available load layer system. If you do not know ab
master-Slave 6 node starts all, start the Web service accessData is also perfectly available. Everything OK so we a SSM Web application +redis cluster +mysql load balancer high availability, high performance, high expansion of the read and write separation architecture is completed, there are many flaws, and then will be self-completion, the architecture also need to use
backend.1. Environment preparation:
Machine name
IP configuration
Service role
Remarks
Haproxy-server
172.17.2.7
Server Load balancer
Configure keepalivedACL control
Rs01
RIP: 192.168.30.107
Static Server
Xiaomi webpage
Rs02
RIP: 192.168.30.7
Dynamic Server
Xiaomi webpage
2. Define the ACL and backend server on haproxy
Do not mod
Ngigx + Tomcat configure static/dynamic separation, Server Load balancer, and ngigxtomcat
Since the company used Ngnix, I felt a little curious about Nginx, So I studied it.
My version used in windows is nginx-1.8.1:
1. Start Ngnix
Double-click nginx-1.8.1. nginx.exe in the
.itheima.com;# Charset koi8-r;# Access_log logs/host. access. log main;Location /{Proxy_pass http: // tomcatserver2;Index index.html index.htm;}}
If multiple servers provide services under the same domain name, nginx load balancing is required.
2
Server Load balancer2.1
What is Server Load
One, load balancing load Balance: built on the existing network structure, it provides an inexpensive and effective way to extend the bandwidth of network devices and servers, increase throughput, enhance network data processing capabilities, and improve network flexibility and availability. This means that it can be shared across multiple operating units, such as Web servers, FTP servers, enterprise critic
more famous sites and organizations are using LVS set up the cluster system, For example: The Linux portal (www.linux.com), real Company (www.real.com), the world's largest open source website (sourceforge.net), which provides audio and video services to RealPlayer.II. structure of the LVS systemThe server cluster system with LVS is composed of three parts: the most front-end load balancer layer, represent
-demand services, and so on, there are many more famous sites and organizations are using LVS set up the cluster system, For example: The Linux portal (www.linux.com), real Company (www.real.com), the world's largest open source website (sourceforge.net), which provides audio and video services to RealPlayer. The LVS architecture uses the LVS to set up the server cluster system has three parts: the most front-end load balancing layer, with
: This article describes how to set up static file separation for NginxTomcat server load balancer. if you are interested in PHP tutorials, refer to it. This article mainly explains how to use Nginx as the front-end web server and tomcat as the backend application server. all Internet requests are forwarded from nginx
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.