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

基于RPC的高并發(fā)網(wǎng)絡通信中負載均衡的研究

發(fā)布時間:2018-05-23 15:21

  本文選題:遠程過程調用 + 高并發(fā) ; 參考:《浙江理工大學》2017年碩士論文


【摘要】:隨著互聯(lián)網(wǎng)相關技術的快速發(fā)展,數(shù)以萬計甚至是上億的用戶在不斷地訪問大型網(wǎng)站應用,它們的訪問數(shù)量呈指數(shù)級別增長,特別是活動時期的訪問數(shù)量更為龐大。高并發(fā)指多個用戶同時發(fā)送請求,此情況下服務器資源利用率相應上升,到達閾值后服務器性能會緩慢下降甚至驟然降低。面對如此海量的并發(fā)請求時,后臺服務要保持原有即時、流暢、穩(wěn)定的用戶體驗,就需要有良好的網(wǎng)絡通信架構的支撐,本文選擇對RPC進行深入研究。本文首先分析高并發(fā)的特點,對請求的響應時間以及服務器集群的動態(tài)硬件資源監(jiān)控進行了研究和分析,提出了一種基于RPC的動態(tài)負載均衡策略,設計相應的數(shù)學模型,實現(xiàn)多臺服務器集群系統(tǒng)進行并發(fā)測試,通過與常用RPC框架的對比,驗證該策略的可行性以及有效性。提出一種針對高并發(fā)的評價模型,進行結果分析。最后,為了更好地滿足高并發(fā)的需求,調整模型的可變參數(shù)進行多次實驗,擬合函數(shù)求最優(yōu)解實現(xiàn)模型優(yōu)化。本文主要工作有以下幾個方面:(1)對常用負載均衡以及常用RPC框架進行研究,理解其工作原理。對其中的Dubbo框架的優(yōu)勢和自帶負載均衡進行研究,并對此四種自帶負載均衡進行實驗測試,將數(shù)據(jù)匯總進行對比,選擇更適合高并發(fā)的輪詢負載均衡進行下一步的研究。針對RPC的請求調用特點,提出RPC請求的響應時間模型,結合最快響應算法以及硬件資源監(jiān)控,提出了動態(tài)權重值更新策略以及相應的數(shù)學模型;(2)根據(jù)本文提出的動態(tài)權重值更新策略,提出了基于RPC的動態(tài)加權輪詢負載均衡的策略,并進行核心模塊的劃分與設計,包括動態(tài)注冊模塊、數(shù)據(jù)緩存模塊、核心監(jiān)控處理模塊以及負載均衡模塊,并介紹了各個模塊之間的關聯(lián);(3)對已劃分的模塊進行實現(xiàn),搭建出三臺服務提供方的集群。通過與常用RPC原生框架的實驗對比,驗證了本策略的可行性,它既能減少平均響應時間,在高并發(fā)的場景下已經(jīng)超過常用的RPC框架的效率,也可以充分地利用性能較好的服務提供方;(4)最后,提出了一種針對負載均衡效率的評價模型,用于模型參數(shù)優(yōu)化。通過可變參數(shù)的調整獲得不同條件下的負載均衡性能對比,通過實驗結果擬合出一個針對本研究的二次擬合函數(shù),經(jīng)過法方程求解,求出本實驗的最優(yōu)解,并給出理想化的參數(shù)值。
[Abstract]:With the rapid development of Internet related technologies, tens of thousands or even hundreds of millions of users are constantly accessing large web applications. Their number of visits has increased exponentially, especially during the activity period. When the threshold is reached, the performance of the server will decline slowly or even suddenly. In the face of such massive concurrent requests, the background service needs to be supported by a good network communication architecture to maintain the original, fluent and stable user experience. This paper chooses the RPC to study deeply. This paper first analyzes the characteristics of high concurrency, and requests the request of the high concurrency. The response time and the dynamic hardware resource monitoring of the server cluster are studied and analyzed. A dynamic load balancing strategy based on RPC is proposed, and the corresponding mathematical model is designed to realize concurrent testing of multiple server cluster systems. By comparing with the common RPC framework, the feasibility and effectiveness of the strategy are verified. A high concurrency evaluation model is proposed for the analysis of the results. Finally, in order to meet the needs of high concurrency better, the variable parameters of the model are adjusted for many experiments and the fitting function is used to optimize the model. The main work of this paper is as follows: (1) research on the common load balancing and the common RPC framework. The advantages of the Dubbo framework and the load balancing are studied, and the four kinds of load balancing are tested, the data collection is compared, and the next step of the polling load balancing is selected more suitable for high concurrency. The response time mode of the request of the RPC is put forward according to the request calling features of the RPC. Type, combined with the fastest response algorithm and hardware resource monitoring, the dynamic weight updating strategy and the corresponding mathematical model are proposed. (2) according to the dynamic weight updating strategy proposed in this paper, a dynamic weighted polling load balancing strategy based on RPC is proposed, and the core module is divided and designed, including the dynamic registration module. According to the cache module, the core monitoring and processing module and the load balancing module, the relationship between each module is introduced. (3) the divided module is implemented and the cluster of three service providers is set up. The feasibility of this strategy is verified by comparing with the common RPC primary framework, which can reduce the average response time and be high. The concurrent scenario has exceeded the efficiency of the common RPC framework and can make full use of the service provider with better performance. (4) finally, an evaluation model for load balancing efficiency is proposed for model parameter optimization. The performance comparison of load balancing under different conditions is obtained through the adjustment of variable parameters, and the experimental results are obtained. Fitting a two fitting function for this study, through the solution of the equation, the optimal solution of the experiment is obtained, and the idealized parameter value is given.
【學位授予單位】:浙江理工大學
【學位級別】:碩士
【學位授予年份】:2017
【分類號】:TP393.09

【相似文獻】

相關期刊論文 前10條

1 展永剛;楊世平;;串空間模型對RPC協(xié)議機密性的驗證[J];計算機安全;2009年03期

2 李濤,甘駿人,王相生;基于RPC的連鎖快餐企業(yè)分布式數(shù)據(jù)庫系統(tǒng)設計[J];微處理機;2000年03期

3 張文直,邱旭華,周東平;遠程過程調用(RPC)在三層分布系統(tǒng)中的應用[J];警察技術;2005年04期

4 劉永寧;用RPC編寫網(wǎng)絡文件服務器[J];計算機時代;2003年12期

5 李 靖,劉敬延,楊 斌,紀效鵬;對利用RPC方式實現(xiàn)數(shù)據(jù)庫信息傳輸?shù)难芯亢驮O計[J];計算機工程;2002年04期

6 007;赤手空拳對付RPC漏洞[J];電子與電腦;2003年09期

7 趙麗敏;童舜海;;基于RPC的安全問題研究[J];麗水學院學報;2007年05期

8 ;使用無線USB網(wǎng)卡提示“RPC服務不可用”[J];電腦迷;2012年14期

9 李蓓;;RPC安全漏洞及預防[J];青海師范大學學報(自然科學版);2006年01期

10 蔣欣;用RPC機制實現(xiàn)客戶機/服務器的網(wǎng)絡結構[J];中國金融電腦;1995年10期

相關會議論文 前8條

1 謝宇廣;張家文;劉冀成;趙建兵;李建成;韓紀峰;錢森;;電阻率對RPC性能的影響[A];第十二屆全國核電子學與核探測技術學術年會論文集[C];2004年

2 任傳成;Gao X;Takahashi T;Steingberg GK;Zhao H;;RPC的腦保護時間窗與經(jīng)典PC一樣嗎?[A];第十一屆全國神經(jīng)病學學術會議論文匯編[C];2008年

3 田志敏;吳平安;;沖擊荷載作用下鋼管超高強混凝土(簡稱鋼管RPC)軸壓構件的性能[A];第17屆全國結構工程學術會議論文集(第Ⅲ冊)[C];2008年

4 陸軍;;關于“實施RPC(raw material,product,creation)管理與創(chuàng)新建立信息高速公路”的探討[A];經(jīng)濟發(fā)展方式轉變與自主創(chuàng)新——第十二屆中國科學技術協(xié)會年會(第一卷)[C];2010年

5 時芳芳;楊立剛;靳崢;任傳成;;RPC誘導缺血腦保護的蛋白質差異分析[A];中華醫(yī)學會第十三次全國神經(jīng)病學學術會議論文匯編[C];2010年

6 寧哲;馬烈華;張家文;陳進;;大亞灣反應堆中微子實驗RPC裸室的宇宙線測試[A];第十五屆全國核電子學與核探測技術學術年會論文集[C];2010年

7 李奇特;王通和;葉沿林;紀瑋;劉洪濤;;基于大面積RPC的宇宙線成像系統(tǒng)研究[A];第三屆全國核技術與應用學術研討會會議資料文集[C];2012年

8 呂冰峰;曹霞;周旭;史珊伊;;無粘接預應力RPC簡支梁裂縫計算分析[A];第十一屆后張預應力學術交流會論文集[C];2011年

相關重要報紙文章 前1條

1 北京 周瑞;RPC病毒我不怕[N];電腦報;2003年

相關博士學位論文 前2條

1 朱倩;鋼管RPC短柱靜力及抗沖擊性能研究[D];長安大學;2014年

2 郝慧峰;大亞灣反應堆中微子實驗中基于VME的RPC電子學研制[D];中國科學技術大學;2012年

相關碩士學位論文 前10條

1 歐陽鵬;圓中空夾層鋼管RPC柱軸壓及其節(jié)點的力學性能研究[D];湖南大學;2016年

2 許志海;鋼管RPC短柱軸壓性能和推出試驗研究[D];湖南大學;2016年

3 馬原;基于RPC的高并發(fā)網(wǎng)絡通信中負載均衡的研究[D];浙江理工大學;2017年

4 吳捧捧;自密實鋼管RPC柱基本力學性能研究[D];北京交通大學;2010年

5 袁苑;大亞灣中微子實驗RPC電子學原型機讀出插件的研制[D];中國科學技術大學;2009年

6 曾峰;RPC-鋼組合梁有效寬度研究[D];湖南科技大學;2014年

7 劉昕;基于RPC漏洞病毒的剖析和簡單殺毒軟件的制作[D];沈陽工業(yè)大學;2005年

8 羅武;IPv6分布式路由器中擴展RPC機制的設計與實現(xiàn)[D];西安電子科技大學;2004年

9 劉婧;RPC異型管材研究分析[D];北京市市政工程研究院;2014年

10 陳彬;預應力RPC梁抗剪性能研究[D];湖南大學;2007年

,

本文編號:1925311

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

本文鏈接:http://sikaile.net/shoufeilunwen/xixikjs/1925311.html


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

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