web集群負載均衡系統(tǒng)的設(shè)計與實現(xiàn)
發(fā)布時間:2018-06-06 07:08
本文選題:互聯(lián)網(wǎng) + WEB集群 ; 參考:《電子科技大學(xué)》2014年碩士論文
【摘要】:隨著Internet的飛速發(fā)展,人們的工作生活越來越離不開互聯(lián)網(wǎng),截至2013年12月,中國網(wǎng)民規(guī)模達6.18億,互聯(lián)網(wǎng)普及率為45.8%。網(wǎng)民數(shù)量的急劇增加帶來的龐大的訪問流量給很多受人歡迎的網(wǎng)絡(luò)站點帶來了巨大的挑戰(zhàn)。熱門站點每天要處理數(shù)億的請求,爆炸式的訪問次數(shù)增長使得建立更強的網(wǎng)絡(luò)服務(wù)系統(tǒng)成為迫在眉睫的問題。為了給網(wǎng)民提供優(yōu)質(zhì)的體驗,解決網(wǎng)絡(luò)訪問量劇增對網(wǎng)絡(luò)帶寬和服務(wù)器性能提出的需求,絕大多數(shù)網(wǎng)站通過構(gòu)建WEB服務(wù)器集群來提高系統(tǒng)的處理能力。WEB集群技術(shù)是構(gòu)建大型網(wǎng)站的關(guān)鍵技術(shù)之一。本文以WEB服務(wù)器集群的負載均衡調(diào)度為研究課題,對WEB集群的一些關(guān)鍵技術(shù)進行了研究,重點研究了負載均衡調(diào)度策略以及負載均衡系統(tǒng)實現(xiàn)的關(guān)鍵技術(shù),并取得了以下成果:1.設(shè)計了一種新的基于HTTP請求內(nèi)容的調(diào)度策略,當(dāng)請求到達時根據(jù)HTTP請求內(nèi)容將請求劃分為動態(tài)請求和靜態(tài)請求兩類,并針對兩類請求做出不同的調(diào)度決策,對于動態(tài)請求主要考慮負載的均勻分配,對于靜態(tài)請求主要考慮提高請求的Cache命中率。并在算法中設(shè)計了基于模糊聚類的動態(tài)反饋調(diào)節(jié)機制,周期性的對WEB集群的負載做出調(diào)整。2.設(shè)計實現(xiàn)了負載均衡系統(tǒng)。詳細敘述了負載均衡系統(tǒng)的設(shè)計與實現(xiàn)的過程,使用epoll事件驅(qū)動模型、散列表、連接池等關(guān)鍵設(shè)計技術(shù),實現(xiàn)了高性能的負載均衡系統(tǒng)。最后構(gòu)建測試環(huán)境,模擬多用戶測試,對負載均衡系統(tǒng)進行了測試,并對本文提出的策略、LARD及加權(quán)最小連接算法的性能進行了對比分析。
[Abstract]:With the rapid development of Internet, people's work and life are more and more inseparable from the Internet. As of December 2013, the number of Internet users in China reached 618 million, and the Internet penetration rate was 45.8%. The rapid increase in the number of Internet users brings huge traffic to many popular web sites. Hot sites handle hundreds of millions of requests a day, and the explosive number of visits makes it urgent to build stronger web services. In order to provide a high-quality experience for Internet users and address the demand for network bandwidth and server performance caused by the sharp increase in the number of visitors to the network, Web cluster technology is one of the key technologies to build large web sites, which can improve the processing ability of the system by building WEB server cluster. In this paper, the load balancing scheduling of WEB server cluster is taken as the research topic, and some key technologies of WEB cluster are studied, especially the load balancing scheduling strategy and the key technology of the implementation of load balancing system, and the following results are obtained: 1. A new scheduling strategy based on HTTP request content is designed. When the request arrives, the request is divided into dynamic request and static request according to the HTTP request content, and different scheduling decisions are made for the two types of requests. For dynamic requests, load distribution is mainly considered, and for static requests, the Cache hit ratio of requests is mainly improved. In the algorithm, the dynamic feedback adjustment mechanism based on fuzzy clustering is designed to adjust the load of WEB cluster periodically. A load balancing system is designed and implemented. The design and implementation process of load balancing system is described in detail. A high performance load balancing system is realized by using key design techniques such as epoll event-driven model, hash table, connection pool and so on. Finally, the test environment is constructed, the multi-user test is simulated, the load balancing system is tested, and the performance of the proposed strategy lard and the weighted minimum connection algorithm are compared and analyzed.
【學(xué)位授予單位】:電子科技大學(xué)
【學(xué)位級別】:碩士
【學(xué)位授予年份】:2014
【分類號】:TP393.09
【參考文獻】
相關(guān)期刊論文 前3條
1 胡安波;蘇金樹;陳曙暉;;應(yīng)用層負載均衡技術(shù)研究[J];計算機工程與應(yīng)用;2009年14期
2 郭成城,晏蒲柳;一種異構(gòu)Web服務(wù)器集群動態(tài)負載均衡算法[J];計算機學(xué)報;2005年02期
3 姚婧;何聚厚;;基于模糊聚類分析的云計算負載平衡策略[J];計算機應(yīng)用;2012年01期
相關(guān)碩士學(xué)位論文 前1條
1 王晉鵬;SAN網(wǎng)絡(luò)環(huán)境下基于LVS集群的流媒體服務(wù)器的研究[D];清華大學(xué);2004年
,本文編號:1985704
本文鏈接:http://sikaile.net/guanlilunwen/ydhl/1985704.html
最近更新
教材專著