original link: https://www.jianshu.com/p/fa937b8e6712
Brief introduction
Difference
Advantages and disadvantages of Nginx, LVS and haproxy load balancer software
First, Introduction
* * The so-called four layer is based on ip+ Port load balancing, seven layer is based on the URL and other application layer information
Understanding Server Load balancer firstTransferAndForwardingDifferences:
The transfer and forwarding process is similar to whether customers and outsourcing companies need to directly contact each other. If the contact is received by the receiver. Transparency between customers and outsourcing companies means forwarding.Transfer: to transfer data packets from the client to the actual server, you need to know the address of the actual server.Forward:
transmitted by each server. Once the total amount is exceeded, no effective adjustment can be made. Website administrators can estimate how to set up server groups to achieve URL-based load balancing. However, the disadvantage of this product is that it can only provide the most basic load balancing.
People like Appli
Abstract: This article discusses the server load balancer technology and load allocation strategies used by distributed network servers, and implements the server load balancer Gateway on FreeBSD based on network address translation, it is applied to our Internet server and distributes the load to multiple servers to s
Nginx do reverse proxy, the back-end host has more than one, you can use upstream to define a back-end host pool, in the reverse proxy directly using the host pool name. In upstream, we can define load balancing scheduling algorithm, weight, health status detection and other parameters.
For example:
Upstream backend {
server 172.16.0.1:80 weight=1 max-fails=3 fail_timeout=10;
Server 172.16.0.2:
load, that is, less load distribution requests
# Proxyset Lbmethod=bybusyness
# By the number of requests
Proxyset lbmethod=byrequests
1.ProxyPass is a mapping strategy, and Stickysession=jsessionid|jsessionid is necessary when the sticky session strategy is used.
2.BalancerMember is configured with the address of the child machine.
3.ProxySet configuration i
The difference between four and seven layers of load balancing
four layersThe so-called four layer is the fourth layer in the ISO reference model. Four-layer load balancing is also called four-layer switch, it is mainly through the analysis of IP layer and TCP/UDP layer of traffic implementation based on IP plus port
advantages can still be retained, and the advantages of its syntax, as well as the rapid development of efficiency, will still be a place for it.
But is it not possible to implement these large distributed systems under the Windows platform? I believe this question has been widely discussed, but at least I don't see a clearer, complete case. With these questions, I decided to upgrade my machine and build a highly scalable distributed Web site from start to finish under the Windows platform. My
Copyright Notice: Original works, declined reprint! Otherwise, the legal liability will be investigated.An official description of NLB, you must first understand the principles of NLB before building an NLB cluster
Network Load Balancing (NLB) features in Windows server R2 can enhance the availability of Internet server applications such as those used on Web, FTP, firewalls, proxies, virtual pr
Load BalancerIt can be a dedicated device or an application that runs on a common server. Distribute requests to servers that have the same content or provide the same services. Special purpose devices are generally only Ethernet interfaces, which can be said to be a multi-layer switch. The load balancer is typically assigned a virtual IP address, and all requests from the client are done for the virtual IP
Compile and configure the Nginx Load Balancing optimization plug-in
1. Install the Ngix dependency ModuleNgix depends on the following modules: pcre, zlib, openssl, md5/sha1 (if the corresponding modules are not installed in the system, install them as follows)1. Install the pcre module (8.35)Http://www.pcre.org/Installation command:# Unzip pcre-8.35.zip# Cd pcre-8.35#./Configure# Make make installIn a 64-
Network Load Balancing Principle and algorithm [Winmag]Author: Slhhacker1. Network Load BalancingGenerally, service nodes in a cluster can provide such information as processor load, application system load, active users, available network protocol caches, and other resource
This paper is the fourth of load balancing, mainly introduces the three request forwarding modes and eight load balancing algorithms of LVS, as well as the features of Haproxy and load balancing algorithm. For specific reference a
the 4001 ports of the two machines are connected separately, the cluster configuration is successful and session replication is possible.Problems that may exist1, Session replication problemBefore using Apache for load balancing, is the choice of the session sticky mode, so that the user every time in the same server will be the session, will not be forwarded to
LVS Overview1.lvs:linux Virtual ServerQuad Exchange (routing): forwards it to a server in the backend host cluster based on the destination IP and destination port of the request message (based on the scheduling algorithm);Not able to implement load balancing on the application tierLVS (also known as Ipvs) is based on the firewall NetFilter implementation in the kernel2.lvs Cluster Terminology:
SummaryThis article mainly discusses the basic balancing algorithms and dynamic load balancing mechanisms in the network load balancing cluster system. Based on LVS, the poll algorithm is used to implement the dynamic negative feedback mechanism of the cluster. A basic dynam
1. IntroductionEssentially, network load balancing is an implementation of a Distributed Job Scheduling System. As the controller of network request allocation, the balancer uses a centralized or distributed policy to allocate network service requests based on the current processing capacity of the cluster nodes, it also monitors the valid status of each node in the lifecycle of each service request. Genera
Abstract: This article discusses the Server Load balancer technology and load allocation strategies used by distributed network servers, and implements the Server Load balancer gateway on FreeBSD Based on Network Address Translation, it is applied to our internet server and distributes the load to multiple servers to s
Load Balancing problems in multi-core programmingAuthor: Zhou weiming related article links: Lock competition in multi-core programming several difficulties of multi-core programming and their countermeasures (problem 1) OpenMP parallel programming (2) OpenMP parallel programming (1) fast sorting efficiency on dual-core CPU the lock competition problem in multi-core programming mentioned in this article is
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.