当前位置:网站首页>LVS four layer load balancing cluster (5) LVS overview
LVS four layer load balancing cluster (5) LVS overview
2022-06-13 03:36:00 【51CTO】
LVS - Linux Virtual Server,Linux Virtual server
The basic idea of load balancing is : Balance the load as much as possible in a server cluster . The usual approach is to set up a load balancer on the front end of the server ( It is usually a special hardware device ). The load balancer then routes the requested connection to the most idle available server . The following figure shows a typical load balancing setup for a large web site , One of the load balancers is used for HTTP Traffic , Another one for MySQL visit .

Load balancing has 5 A common purpose .
(1) Extensibility : Load balancing is helpful for some scaling strategies , For example, read data from the standby database during read / write separation .
(2) Efficiency : Load balancing helps to use resources more efficiently , Because it can control where requests are routed .
(3) Usability : A flexible load balancing solution can use servers that are always available .
(4) transparency : The client does not need to know whether load balancing settings exist , It doesn't matter how many machines are behind the load balancer , What's the name . The load balancer shows the client only a virtual server .
(5) Uniformity : If the application is stateful ( Database transactions 、 Website conversation, etc ), Then the load balancer should point related queries to the same server , To prevent data loss . The application does not need to track which server it is connected to .
边栏推荐
- The latest summary of key topics of journal C in 2022 - topic scope, contribution method and journal introduction
- 2-year experience summary to tell you how to do a good job in project management
- Data from the first to seventh census (to counties)
- IP address and classification
- Complex network analysis capability based on graph database
- Configuration and practice of shardingsphere JDBC sub database separation of read and write
- Masa Auth - SSO and Identity Design
- Time processing class in PHP
- Domestic zynq standalone pl-ps interrupt commissioning
- Simulink代码生成: 简单状态机及其代码
猜你喜欢

Nuggets new oil: financial knowledge map data modeling and actual sharing

Neil eifrem, CEO of neo4j, interprets the chart data platform and leads the development of database in the next decade
![[azure data platform] ETL tool (7) - detailed explanation of ADF copy data](/img/d1/7c35e77a2b4f06dd9cef918da1104e.jpg)
[azure data platform] ETL tool (7) - detailed explanation of ADF copy data
![[azure data platform] ETL tool (4) - azure data factory debug pipeline](/img/7c/504254293531bed3b181322234fc7b.jpg)
[azure data platform] ETL tool (4) - azure data factory debug pipeline

Brief introduction: distributed cap theory and base theory

MySQL learning summary 12: system variables, user variables, definition conditions and handlers

Azure SQL db/dw series (10) -- re understanding the query store (3) -- configuring the query store

The most complete ongdb and neo4j resource portal in history

Workflow of driver of spark kernel (stage division, task division, task scheduling)
![[JVM Series 7] garbage collector](/img/e5/902de6398359b75183aa1fafcaa7d1.jpg)
[JVM Series 7] garbage collector
随机推荐
Configuration and practice of shardingsphere JDBC sub database separation of read and write
Understanding the ongdb open source map data foundation from the development of MariaDB
LeetCode 178. Score ranking (MySQL)
Use cypher to get the tree of the specified structure
Azure SQL db/dw series (9) -- re understanding the query store (2) -- working principle
Golang picks up: why do we need generics
(九)详解广播机制
Panel data set of rural cities and towns: per capita consumption and expenditure of prefecture level cities 2012-2019 & rural data of provinces 2013-2019
PHP import classes in namespace
[JVM Series 5] JVM tuning instance
Complex network analysis capability based on graph database
Doris outputs numbers in currency format. The integer part is separated by commas every three digits, and the decimal part is reserved for two digits
Simulink code generation: simple state machine and its code
Aggregation analysis of research word association based on graph data
Differences of several query methods in PDO
Spark Foundation
Common command records of redis client
2016. maximum difference between incremental elements
Spark kernel (execution principle) environment preparation /spark job submission process
ip地址及分类