天堂国产午夜亚洲专区-少妇人妻综合久久蜜臀-国产成人户外露出视频在线-国产91传媒一区二区三区

基于會話共享的負載均衡方案研究

發(fā)布時間:2018-05-18 18:47

  本文選題:集群 + 負載均衡; 參考:《山東科技大學》2017年碩士論文


【摘要】:伴隨著網(wǎng)絡的飛速發(fā)展,用戶訪問量急劇增長,對Web服務器的性能和可靠性提出了更大的挑戰(zhàn),使用服務器集群技術和負載均衡技術能有效的解決大量web并發(fā)訪問給后端服務器造成壓力的問題。其中負載均衡技術是服務器集群系統(tǒng)的核心,它關系到后端服務器能否保持高效可靠穩(wěn)定的工作狀態(tài)。客戶端訪問web時,由于HTTP協(xié)議是無狀態(tài)的連接協(xié)議,Web網(wǎng)站會使用會話技術來記錄客戶端與服務器端的交互信息。當處于負載均衡的集群環(huán)境中時,通常會使用會話保持技術實現(xiàn)會話的一致性。這時,負載均衡算法和會話保持方法都會對負載均衡集群的性能及負載平衡性有影響。本文首先介紹了負載均衡技術的基本概念特點和算法,分析了常用的會話保持技術,對常用的會話保持技術的優(yōu)缺點進行了分析,最后采用獨立服務器管理會話數(shù)據(jù),使會話數(shù)據(jù)以全局可見的方式來保持會話一致性,由于會話服務器將被各個節(jié)點頻繁的訪問成為系統(tǒng)中的熱點之一,所以會話服務器采用冗余備份的方式。給出了系統(tǒng)的總體設計方案,從需求分析入手描述了整個會話的操作流程。采用Nginx服務器作為負載均衡服務器,分析了 Nginx的源代碼,采用一種動態(tài)的負載均衡算法,將節(jié)點服務器的剩余負載和性能比值轉化為權重,選出權重前三的服務器,然后在被選出的服務器中隨機選出一臺分配客戶端請求,隨機分配時,被選中的概率與服務器的權重成正比,從而增強了集群的性能,提高了效率。最后,利用LoadRunner性能測試工具對原有加權輪詢策略和本文所采用動態(tài)策略進行性能測試,通過實驗證明,本文所采用的這種動態(tài)策略更好的實現(xiàn)了負載均衡。
[Abstract]:With the rapid development of the network, the number of users' access has increased dramatically, which poses a greater challenge to the performance and reliability of the Web server. Using server cluster technology and load balancing technology can effectively solve the pressure problem of a large number of Web concurrent access to the back end server. At the core, it is related to whether the back end server can maintain a high efficient, reliable and stable state of work. When the client visits the web, the HTTP protocol is a stateless connection protocol, and the Web site uses session technology to record the interaction information between the client and the server side. In this paper, the load balancing algorithm and session retention method will affect the performance and load balance of the load balancing cluster. Firstly, the basic concepts and algorithms of load balancing technology are introduced, and the common session retention technology is analyzed, and the advantages and disadvantages of the commonly used session retention technology are divided. Finally, the session data is managed by the independent server to keep the session consistency in a global visible way. Because the session server will be frequently visited by each node as one of the hotspots in the system, the session server uses redundant backup. The overall design scheme of the system is given and the requirements are divided. The Nginx server is used as the load balancing server. The source code of the Nginx is analyzed. A dynamic load balancing algorithm is used to transform the ratio of the residual load and the performance ratio of the node server to the weight, and the first three servers are selected and then selected randomly in the selected server. When assigning a client request, the selected probability is proportional to the weight of the server, thus enhancing the performance of the cluster and improving the efficiency. Finally, the LoadRunner performance testing tool is used to test the original weighted polling strategy and the dynamic strategy adopted in this paper. This dynamic strategy makes it better to achieve load balancing.
【學位授予單位】:山東科技大學
【學位級別】:碩士
【學位授予年份】:2017
【分類號】:TP393.09

【參考文獻】

相關期刊論文 前10條

1 李洪;陳耀武;;視頻監(jiān)控系統(tǒng)中的VOD負載均衡改進算法[J];計算機工程;2014年11期

2 李雅斌;朱菘;常忠貴;李洪燕;吳姝燕;沐士光;;服務器集群技術綜述[J];中小企業(yè)管理與科技(中旬刊);2014年01期

3 李彬;朱亞興;;Nginx在實現(xiàn)網(wǎng)站負載均衡方面的研究[J];信息與電腦(理論版);2013年11期

4 饒磊;湯小春;侯增江;;服務器集群負載均衡策略的研究[J];計算機與現(xiàn)代化;2013年01期

5 孫天昊;陳飛;鄧俊昆;;一種基于cookie會話保持的LVS集群系統(tǒng)[J];計算機應用研究;2013年04期

6 方巍;文學志;潘吳斌;薛勝軍;;云計算:概念、技術及應用研究綜述[J];南京信息工程大學學報(自然科學版);2012年04期

7 王魁生;符予;;集中式動態(tài)負載均衡算法的研究[J];西安石油大學學報(自然科學版);2011年06期

8 趙艷芳;蔣云起;;Web服務器負載均衡會話保持的研究[J];云南民族大學學報(自然科學版);2011年04期

9 李坤;王百杰;;服務器集群負載均衡技術研究及算法比較[J];計算機與現(xiàn)代化;2009年08期

10 喬鑫;;Nginx——新一代web服務器軟件[J];科技浪潮;2009年01期

相關碩士學位論文 前5條

1 王永輝;基于Nginx高性能Web服務器性能優(yōu)化與負載均衡的改進與實現(xiàn)[D];電子科技大學;2015年

2 梁銳;基于Web服務器集群的負載均衡系統(tǒng)研究與實現(xiàn)[D];大連海事大學;2013年

3 任國慶;基于內(nèi)容分類和會話共享的集群負載均衡研究[D];湖南大學;2010年

4 趙志鵬;J2EE下設計模式在Web系統(tǒng)中的研究與應用[D];大連理工大學;2007年

5 廖艷達;基于Opnet的Web集群負載均衡仿真研究[D];廣西師范大學;2007年

,

本文編號:1906780

資料下載
論文發(fā)表

本文鏈接:http://www.sikaile.net/guanlilunwen/ydhl/1906780.html


Copyright(c)文論論文網(wǎng)All Rights Reserved | 網(wǎng)站地圖 |

版權申明:資料由用戶8bc84***提供,本站僅收錄摘要或目錄,作者需要刪除請E-mail郵箱bigeng88@qq.com