| 主機參考:VPS測評參考推薦/專注分享VPS服務器優惠信息!若您是商家可以在本站進行投稿,查看詳情!此外我們還提供軟文收錄、PayPal代付、廣告贊助等服務,查看詳情! |
| 我們發布的部分優惠活動文章可能存在時效性,購買時建議在本站搜索商家名稱可查看相關文章充分了解該商家!若非中文頁面可使用Edge瀏覽器同步翻譯!PayPal代付/收錄合作 |
彈性負載均衡(Elastic Load Balance)是將訪問流量根據轉發策略分發到后端多臺彈性云服務器的流量分發控制服務,可以通過流量分發擴展應用系統對外的服務能力,提高應用程序的容錯能力。彈性負載均衡具有以下優勢:
1.高性能
集群支持最高1億并發連接,滿足用戶的海量業務訪問需求。
2.高可用
采用集群化部署,支持多可用區的同城雙活容災,無縫實時切換。
圖1?高可用 ? ? ? ?? ? ? ?
3.靈活擴展
根據應用流量自動完成分發,與彈性伸縮服務無縫集成,靈活擴展用戶應用的對外服務能力。
圖2?靈活擴展 ? ? ? ?? ? ? ?
4.簡單易用
快速部署ELB,實時生效,支持多種協議、多種調度算法可選,用戶可以高效地管理和調整分發策略。
增強型負載均衡算法,支持以下三種調度算法:
加權輪詢算法:根據后端服務器的權重,按順序依次將請求分發給不同的服務器。它用相應的權重表示服務器的處理性能,按照權重的高低以及輪詢方式將請求分配給各服務器,相同權重的服務器處理相同數目的連接數。常用于短連接服務,例如HTTP等服務。
加權最少連接:最少連接是通過當前活躍的連接數來估計服務器負載情況的一種動態調度算法。加權最少連接就是在最少連接數的基礎上,根據服務器的不同處理能力,給每個服務器分配不同的權重,使其能夠接受相應權值數的服務請求。常用于長連接服務,例如數據庫連接等服務。
源IP算法:將請求的源IP地址進行Hash運算,得到一個具體的數值,同時對后端服務器進行編號,按照運算結果將請求分發到對應編號的服務器上。這可以使得對不同源IP的訪問進行負載分發,同時使得同一個客戶端IP的請求始終被派發至某特定的服務器。該方式適合負載均衡無cookie功能的TCP協議。
經典型負載均衡算法,支持以下三種調度算法:
輪詢算法:按順序把每個新的連接請求分配給下一個服務器,最終把所有請求平分給所有的服務器。常用于短連接服務,例如HTTP等服務。
最少連接:通過當前活躍的連接數來估計服務器負載情況的一種動態調度算法,系統把新的連接請求分配給當前連接數目最少的服務器。常用于長連接服務,例如數據庫連接等服務。
源IP算法:將請求的源IP地址進行Hash運算,得到一個具體的數值,同時對后端服務器進行編號,按照運算結果將請求分發到對應編號的服務器上。這可以使得對不同源IP的訪問進行負載分發,同時使得同一個客戶端IP的請求始終被派發至某特定的服務器。該方式適合負載均衡無cookie功能的TCP協議。
Elastic load balance is a traffic distribution control service that distributes the access traffic to multiple elastic cloud servers at the back end according to the forwarding policy. It can expand the external service capability of the application system through traffic distribution, and improve the fault tolerance capability of the application program. Elastic load balancing has the following advantages:
1. high performance
The cluster supports up to 100 million concurrent connections to meet users' massive business access needs.
2. high availability
The cluster deployment is adopted to support the disaster recovery of the same city and double activities in multiple zones, and seamless real-time switching.
Figure 1 high availability
3. Flexible expansion
According to the application traffic, it can automatically complete the distribution, integrate with the elastic scaling service seamlessly, and expand the external service ability of the user application flexibly.
Figure 2 flexible expansion
4. Easy to use
Rapid deployment of ELB, real-time effective, support for a variety of protocols, a variety of scheduling algorithm options, users can effectively manage and adjust the distribution strategy.
The enhanced load balancing algorithm supports the following three scheduling algorithms:
Weighted polling algorithm: according to the weight of back-end servers, requests are distributed to different servers in order. It uses the corresponding weight to represent the processing performance of the server. According to the weight and polling method, requests are allocated to each server. The servers with the same weight process the same number of connections. Commonly used for short connection services, such as HTTP and other services.
Weighted least connection: least connection is a dynamic scheduling algorithm to estimate the server load by the number of active connections. Weighted least connection is to assign different weights to each server based on the minimum number of connections, according to the different processing capabilities of the server, so that it can accept the service request with the corresponding number of weights. It is often used for long connection services, such as database connection and other services.
Source IP algorithm: hash the requested source IP address to get a specific value, number the back-end server, and distribute the request to the corresponding numbered server according to the calculation result. This can make the access of different source IP be load distributed, and at the same time make the request of the same client IP always be distributed to a specific server. This method is suitable for TCP protocol without cookie function.
The classic load balancing algorithm supports the following three scheduling algorithms:
Polling algorithm: allocate each new connection request to the next server in order, and finally distribute all requests equally to all servers. Commonly used for short connection services, such as HTTP and other services.
Minimum connections: a dynamic scheduling algorithm that estimates the server load by the number of currently active connections. The system allocates new connection requests to the servers with the minimum number of connections. It is often used for long connection services, such as database connection and other services.
Source IP algorithm: hash the requested source IP address to get a specific value, number the back-end server, and distribute the request to the corresponding numbered server according to the calculation result. This can make the access of different source IP be load distributed, and at the same time make the request of the same client IP always be distributed to a specific server. This method is suitable for TCP protocol without cookie function.
--------------------------------------------------------------
主機參考,收集國內外VPS,VPS測評,主機測評,云服務器,虛擬主機,獨立服務器,國內外服務器,高性價比建站主機相關優惠信息@m.k2270.com
詳細介紹和測評國外VPS主機,云服務器,國外服務器,國外主機的相關優惠信息,商家背景,網絡帶寬等等,也是目前國內最好的主機云服務器VPS參考測評資訊優惠信息分享平臺
這幾篇文章你可能也喜歡:
- 1G的云服務器可以做什么?好不好
- WNT蟲洞傳輸實現內網安全、高速、穩定傳輸
- 云服務器ecs怎么選購,有哪些技巧
- WNT高速直連公有云、私有云,解決丟包,降低延遲
- Exchange 2013安裝部署及補充
本文由主機參考刊發,轉載請注明:彈性負載均衡好在哪,講解6種負載均衡算法 http://m.k2270.com/12721.html
主機參考

















評論前必須登錄!
注冊