Haproxy + Apache for Linux Server Load balancer Software
Haproxy provides high availability, Server Load balancer, and reverse proxy Based on TCP and HTTP applications, especially for websites with extremely high loads that usually require session persistence or layer-7 processing. Haproxy runs on the current hardware
, there are also real-time static content, the Mop-like hodgedge and Netease community use such strategies.Category 3: The content changes in real time and is very personalized. For example, for mailbox applications, the content provided by such services cannot be static and can only be optimized through regional deployment and load balancing.For the vendors that provide cdn services, static content cdn is naturally no problem. For the third type of s
LVS is the abbreviation for Linux virtual server, which is the Linux virtualization server. Now LVS is already part of the Linux standard kernel, Prior to the Linux2.4 kernel, the LVS had to be recompiled to support the LVS function module, but since the Linux2.4 kernel, the various functions of LVS have been built-in, without any patching of the kernel, and the functions provided by LVS can be used directly.LVS since 1998, has developed into a more mature technology project now. LVS technology
Lvs-nat model: Similar to Dnat, but supports multi-target forwarding, which is multi-objective DnatIt is forwarded by modifying the destination address of the request message to a certain RS rip selected by the scheduling algorithm.Architectural Features:(1) RS should use a private address, that is, RIP should be a private address, each RS gateway must point to the dip(2) The request message and the response message are forwarded through the Director; in high-
Considering the shortcomings of LVS and Nginx (because LVS uses synchronous request forwarding policy and Nginx is the asynchronous forwarding policy, combined with the disadvantage of both: as the Load Balancer server nginx and LVS processing the same request, all requests and response traffic will go through the Nginx server, However, when using LVS, only request traffic through the LVS
LoadRunner again, we can see that the annoying "1024 error" is not reported in Error.log.Of course, in Nginx, the file cache is also supported, in order to cache those static files on the local nginx server, but to modify its config file configuration, as follows:VI nginx.confEnter the following at the appropriate node in the file:Location ~. *\. (GIF|JPG|JPEG|PNG|BMP|SWF|JS|HTML|HTM|CSS) $ {#指定缓存文件类型Expires 7d; #设置浏览器过期时间7天Root Data/nginx_cache/iis; #静态文件根目录目录 (must correspond to Proxy_temp_pa
The previous article on the introduction of load Balancer LVS has explained the principle of lvs-dr, this article mainly introduces its implementation process in MySQL application:Test environment: 4 virtual machines are CENTOS6 operating systems, using the system's own MySQL package installation test:650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/74/4E/wKioL1YY3QbTEdf8AAFbNDovCbk650.jpg "title=
172.16.3.109Iptables-t nat-a output -- dst 172.16.3.109-p tcp -- dport80-j DNAT -- to-destination 192.168.0.10
2) Configure Server A and server BPay attention to the following points on servers A and B:A) Gateway pointsPoint the gateway to the server load balancer's internal network adapter: 192.168.0.1B) file synchronizationEnsure the consistency of files in the main directory of the Web server. in Window
1 , LVS , TUN IntroductionLVS is a Linux Virtual Server in the actual environment, often as b/S structure of the network application in the load balancer to use, working in 7 Layer network model, the network layer, which is usually said IP layer, because the data is processe
Using partition and server load balancer to achieve greater and better MySQL database optimization and use is a very complicated issue. so how can we make the database bigger and better? This article will show you how to use partition and load balancing solutions to make your MySQL bigger and better.
Larger MySQL
Adding more MySQL instances is an effective way t
: This article mainly introduces the Nginx + IIS + Web front-end (SpringMVC)-server load balancer (1). If you are interested in PHP tutorials, refer to it. Introduction
When developing a large Web project, if our web is published on the IIS of a server, when a large number of requests are sent to the IIS service, the computer will crash easily. So we thought, why don't we put our services on multiple compu
1. IntroductionThis blog post is the "Nginx implementation of dynamic/static file caching-technology flow Ken" two. This article will detail how Nginx implements reverse proxy and load balancing technology, supplemented by practical cases.Reverse proxy--"reverse proxy" means to accept a connection request on the Internet as a proxy server, then forward the request to a server on the internal network and ret
1. Introduction to Linux virtual serversLinux virtual server (LVS) is a high-availability server Load balancer cluster system. The system can provide Load Capacity proportional to the number and performance of server nodes, effectively improving service throughput, reliability, redundancy, adaptability, and high performance and price ratio. At the same time, LVS
Server Load balancer solutions include hardware and software solutions. Mainstream hardware solutions:
F5 BIG-IP
Citrix netscalar
A10 A10
Array
Redware
LVS (Linux virtual server) is a layer-4 network switching or routing software solution. It implements switching or routing through kernel framework module ipvs and a set of rules configured on the framework
LoadRunner again, we can see that the annoying "1024 error" is not reported in Error.log.Of course, in Nginx, the file cache is also supported, in order to cache those static files on the local nginx server, but to modify its config file configuration, as follows:VI nginx.confEnter the following at the appropriate node in the file:Location ~. *\. (GIF|JPG|JPEG|PNG|BMP|SWF|JS|HTML|HTM|CSS) $ {#指定缓存文件类型Expires 7d; #设置浏览器过期时间7天Root Data/nginx_cache/iis; #静态文件根目录目录 (must correspond to Proxy_temp_pa
: VMware8.0, three CentOS5.6 virtual machines Server Configuration C_server 8.8.8.1 D_SERVER0 8.8.8.8 (Public network IP) D_server1 192.168.10.1 (LAN IP) R_server1 192.168.10.2(LAN IP) R_server2 192.168.10.3(LAN IP) Ensure that C_server and D_SERVER0 can communicate with each other, d_server1,r_server1 and r_server2 can communicate with each other, and R_server1 and R_server2 gateways point to D_ Server1 (Command: Route add default GW 192.168.10.1), i
Article Title: Original: Linux server load balancer technology based on LVS. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
Implementation of LVS-based Linux server load balancer t
CCNA Experiment 13 STP the Load Balancer Environment: Windows XP , GNS3.0.7 Purpose: Learn how to Achieve load balancing in STP Description: The load balancing of STP is actually the use of another blocking link in the loop to share the load in the
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.