基于PHP的負(fù)載均衡技術(shù)的研究與改進(jìn)
本文選題:負(fù)載均衡 切入點(diǎn):Nginx 出處:《華東理工大學(xué)》2015年碩士論文
【摘要】:如今社會(huì),互聯(lián)網(wǎng)無處不在。人們對(duì)網(wǎng)絡(luò)應(yīng)用的強(qiáng)烈需求導(dǎo)致性能受到前所未有的挑戰(zhàn)。在成本預(yù)算的制約下,很難去大批量地更換硬件基礎(chǔ)設(shè)備來滿足需求,此時(shí),負(fù)載均衡便成為人們消除網(wǎng)絡(luò)應(yīng)用瓶頸的解決辦法。 本文首先介紹了負(fù)載均衡技術(shù)的發(fā)展現(xiàn)狀和研究熱點(diǎn),關(guān)注常用的負(fù)載均衡實(shí)現(xiàn)方案和經(jīng)典的負(fù)載均衡算法。然后通過對(duì)比分析市面上流行的兩種負(fù)載均衡軟件方案,結(jié)合工作經(jīng)歷闡述了本文采用Nginx作為負(fù)載均衡調(diào)度器的原因。 在剖析Nginx內(nèi)置加權(quán)輪詢算法,并深入挖掘大訪問大并發(fā)的性能瓶頸后,本文在其算法的基礎(chǔ)之上提出一種動(dòng)態(tài)調(diào)節(jié)連接數(shù)的負(fù)載均衡算法。具體來說就是能夠根據(jù)集群系統(tǒng)中后臺(tái)的具體服務(wù)器的整體性能水平和實(shí)時(shí)負(fù)載情況合理地分配用戶的連接請(qǐng)求,使得整個(gè)集群系統(tǒng)達(dá)到一種穩(wěn)定狀態(tài)。接著通過多款測(cè)試工具做性能測(cè)試驗(yàn)證改進(jìn)算法的有效性。 在本文的最后,提出本次研究的改進(jìn)之處,分析了其中的不足,并對(duì)以后的負(fù)載方面的研究方向進(jìn)行了展望。
[Abstract]:Nowadays, the Internet is everywhere.The strong demand for network applications leads to unprecedented performance challenges.Under the constraint of cost budget, it is difficult to replace the hardware infrastructure in large quantities to meet the demand. At this time, load balancing becomes the solution to eliminate the bottleneck of network application.Firstly, this paper introduces the status quo and research focus of load balancing technology, and pays attention to the commonly used load balancing schemes and classical load balancing algorithms.Then, by comparing and analyzing two popular load balancing software schemes in the market, combined with the work experience, this paper explains the reason why Nginx is used as the load balancing scheduler in this paper.After analyzing the Nginx built-in weighted polling algorithm and digging into the performance bottleneck of large access and concurrency, this paper proposes a load balancing algorithm which dynamically adjusts the number of connections based on its algorithm.Specifically, the connection requests of users can be reasonably allocated according to the overall performance level and real-time load of the specific servers in the cluster system, so that the whole cluster system can reach a stable state.Then the effectiveness of the improved algorithm is verified by performance testing with several testing tools.At the end of this paper, the improvement of this research is put forward, the deficiency is analyzed, and the research direction of load in the future is prospected.
【學(xué)位授予單位】:華東理工大學(xué)
【學(xué)位級(jí)別】:碩士
【學(xué)位授予年份】:2015
【分類號(hào)】:TP393.05
【參考文獻(xiàn)】
相關(guān)期刊論文 前8條
1 陳泰安;;一種改進(jìn)的動(dòng)態(tài)反饋負(fù)載均衡算法[J];電子設(shè)計(jì)工程;2013年05期
2 康瑞鋒;;負(fù)載均衡技術(shù)構(gòu)建高效可靠的企業(yè)網(wǎng)絡(luò)[J];電腦知識(shí)與技術(shù);2013年23期
3 饒磊;湯小春;侯增江;;服務(wù)器集群負(fù)載均衡策略的研究[J];計(jì)算機(jī)與現(xiàn)代化;2013年01期
4 李偉;盧捷;馬軍;;基于linux的高可用負(fù)載均衡集群系統(tǒng)的應(yīng)用[J];河北聯(lián)合大學(xué)學(xué)報(bào)(自然科學(xué)版);2013年02期
5 耿強(qiáng);黃雪琴;;一種基于自適應(yīng)權(quán)值的負(fù)載均衡算法[J];科學(xué)技術(shù)與工程;2013年14期
6 嚴(yán)方東;劉玉鳳;;利用Nginx實(shí)現(xiàn)網(wǎng)站負(fù)載均衡[J];數(shù)字化用戶;2013年06期
7 王學(xué)瑞;;mysql集群及負(fù)載均衡技術(shù)及應(yīng)用[J];信息與電腦(理論版);2013年02期
8 李新;黎文偉;;一種改進(jìn)的動(dòng)態(tài)告警負(fù)載均衡算法[J];小型微型計(jì)算機(jī)系統(tǒng);2013年07期
相關(guān)博士學(xué)位論文 前1條
1 王紅斌;Web服務(wù)器集群系統(tǒng)的自適應(yīng)負(fù)載均衡調(diào)度策略研究[D];吉林大學(xué);2013年
,本文編號(hào):1726988
本文鏈接:http://sikaile.net/guanlilunwen/ydhl/1726988.html