One of Linux load Balancing software LVS (concept article)
A brief introduction of LVSLVS is the short name of Linux virtual server, the Linux VM, a free software project initiated by Dr. Zhangwensong, and its official site is www.linuxvirtualserver.org. Now that LVS is already part of the Linux standard kernel, Before the Linux2.4 kernel, the use of LVS must be recompiled to support the LVS function module
Apache.This article is mainly about Nginx + Tomcat reverse proxy and load balancing deployment, to popular and practical-oriented. This article does not have much to do with each section and can be studied separately according to the requirements.Come down and look at the process of Nginx reverse proxy:Nginx Load Balancing
/images.confserver { listen 8080; server_name nginx.bgx.com; location / { root /code; index index.html; }}2.Nginx Load BalancingWebServer, direct user-oriented, often to be hosted 大量并发请求 , a single server 难以负荷 , I use a number of servers, the WEB front- 集群 End use Nginx``负载均衡 , will be requested 分散 to hit our back-end server cluster, implementation 负载的分发 . Then it will greatly improve the system吞吐率、请求性能、高容灾2.1Nginx
Server cluster with a balanced policy Nowadays, servers must be able to provide a large number of concurrent access services, and their processing and I/O capabilities have become bottlenecks in service provision. If the customer's increase causes the communication volume to exceed the capacity of the server, the result will inevitably be: downtime. Obviously, the limited performance of a single server cannot solve this problem. The processing capacity of a common server can only reach tens of
Nginx load balancing-Overall architectureNginx Version: 1.9.1My blog: http://blog.csdn.net/zhangskdThe Load Balancer module currently available in Nginx:Ngx_http_upstream_round_robin, weighted polling, an equalization request, is the default HTTP load balancing algorithm, in
Nginx/lvs/haproxy is currently the most widely used three load balancing software, I have been implemented in a number of projects, reference to some information, combined with some of their own experience, summed up.The general use of load balancing is to use different technologies depending on the stage of the site's
CEF (Cisco Express Exchange) detailedCEF Load BalancingOne, the destination-based balance of responsibility:Destination-based load balancing allows routers to use multiple paths to balance the load. For a source/target host, packet forwarding takes the same path, which is handled even if multiple paths are available. D
A mention of load balancing, I believe many students will directly think of nginx reverse proxy, because we are usually more familiar with Nginx to do Web services load balancing. In fact, Nginx is only part of the load balancer, and each level in the Web application actuall
system expansion capability.
More than two servers to work together must involve load balancing problem, the current commonly used load balancing technology are: NAT load balancing, reverse proxy
Introduction to load Balancing clusters? Mainstream open source software LVs, keepalived, Haproxy, Nginx, etc.? where LVs belongs to Layer 4 (Network OSI 7 layer model), Nginx belongs to 7 layer, Haproxy can be considered as 4 layer, also can be used as 7 layerThe Keepalived load balancing function is actually LVS.? LV
technology, and Cisco's Etherchannel technology are all studying the link aggregation technology that binds multiple Nic interfaces of the server, the link aggregation technology virtualizes multiple links into one logical link, which provides a cheap and effective way to expand the bandwidth of network devices and servers and improve network flexibility and availability.
This article introduces the bonding Technology in Linux. This technology is used in Linux 2.4.x kernel. With bonding technol
The problem of implementing Apache load Balancing under Linux Red Hat 6.5 has been studied recently due to project needs. Start with a clean environment.1. Install the JDK environmentFirst download the Linux version of the JDK, I'm using Jdk-6u24-linux-x64-rpm.bin, and upload the file to the server's specified directory.chmod 777 Jdk-6u24-linux-x64-rpm.bin Modify the operation of the file permissions;./jdk-
As developers of back-end applications, we often develop, debug, test and publish our applications to the production environment, and users have direct access to our applications. But for Internet applications, there is a low profile or thick or thin layer of load balancing software between your application and users, and they do not show the dew silently playing an important role, so much so that we often
According to the online article collation.Load balancer software LVs (Linux Virtual Server) concept paperLVS is based on the Linux operating system to establish a virtual server, to achieve the load balance between service nodes. It is implemented based on the Linux kernel. The 2.6.X kernel is integrated with the LVS module by default.The implementation of common load b
Objective:
With the explosive growth of Internet information, load balancing (loading balance) is no longer a very unfamiliar topic, as the name implies, load balance is to spread the load to different service units, not only to ensure the availability of services, but also to ensure that the response fast enough to g
, you only need to add:
Iptables-I RH-Firewall-1-INPUT-d 224.0.0.18-j ACCEPT
2. If you use a script to configure a firewall, add the following rules:
Iptables-a output-o eth0-d 224.0.0.18-j ACCEPT iptables-a output-o eth0-s ACCEPT-j ACCEPT iptables-a input-I eth0-d 224.0.0.18-j ACCEPT iptables -a input-I eth0-s 224.0.0.18-j ACCEPT
5. Summary
Keepalived implements dual-machine Hot Standby through virt
Label: I. What is covered in this article (Contents)
What is covered in this article (Contents)
Background (contexts)
Architecture Principles (Architecture)
Test environment (Environment)
Installing Moebius (Install)
Moebius Test (testing)
Load Balancing test (load balancing test
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.