Platform architecture design and implementation of enterprise clusters [peacekeeping operation] Liinux

LVS:

LVS is short for Linux Virtual Server, which means Linux virtual server is a virtual server cluster. The project was founded by Dr. Zhang Wen-song in 1998, is one of free software projects in China first appeared.

haproxy:

HAProxy is written in C using a free and open-source software [1], which provides high availability, load balancing, and proxy TCP and HTTP-based applications.

HAProxy especially for those large load of web sites that usually they need to maintain or seven treatment sessions. HAProxy running on current hardware can support thousands of concurrent connections. And its mode of operation makes it really simple to integrate into your current security architecture, while protecting your web server is not exposed to the network.

HAProxy implements an event-driven, single process model, this model supports a very large number of concurrent connections. Multi-process or multi-threaded model by memory limitations, restrictions and lock system scheduler restrictions ubiquitous, few can handle thousands of concurrent connections. Because event-driven model to achieve all these tasks in a better user space resource and time management (User-Space), so do not have these problems. Disadvantages of this model is, on a multi-core system, these programs generally poor scalability. That is why they must be optimized so that each CPU time slice (Cycle) to do more work.

Including GitHub, Bitbucket, Stack Overflow [4], Reddit, Tumblr, Twitter and Tuenti, including well-known sites, and Amazon Web Services systems use HAProxy.

Keepalived:

keepalived is a similar layer3, software switching mechanism 4 & 5, that is, we usually say the Layer 3, Layer 4 and Layer 5 switching. Keepalived is done automatically, without manual intervention.

Keepalived action is the state detection server, if there is a web server is down, or work fails, Keepalived detected, and the failed server is removed from the system, while the other server instead of the server's operation, when the server Keepalived will automatically join the server to the server farm, the work all done automatically after work, without human intervention, the need to manually do is repair the failed server.

For details on lvs / haproxy / keepalived: the enterprise cluster platform architecture design and implementation, please add a link description

(A collection of the most popular application technology cluster LVS / HAPROXY / Keepalived, practical application skills about clustering technology for operation and maintenance engineers to learn)

Platform architecture design and implementation of enterprise clusters [peacekeeping operation] Liinux

The course includes:

LVS cluster architecture diagram common
IP-based load scheduling strategy
LVS load scheduling algorithms and scenarios
to achieve high availability load balancing cluster LVS by prianha 
based keepalived achieve high availability load balancing cluster LVS
Ali cloud developer community fully upgraded, one-stop experience with more cool :( Ali cloud developer community, please add a link Home description )

Guess you like

Origin blog.51cto.com/14377691/2404753
Recommended