面向移動用戶的高可用服務(wù)器架構(gòu)設(shè)計
發(fā)布時間:2018-06-19 04:05
本文選題:高可用 + 服務(wù)器架構(gòu) ; 參考:《哈爾濱工業(yè)大學(xué)》2017年碩士論文
【摘要】:近年來,隨著網(wǎng)絡(luò)技術(shù)的飛速發(fā)展和智能終端的廣泛普及,移動互聯(lián)網(wǎng)已經(jīng)滲透到學(xué)習(xí)、工作、生活、娛樂等各個方面,成為社會生產(chǎn)生活中不可或缺的工具。高可用的服務(wù)器架構(gòu)是支撐互聯(lián)網(wǎng)服務(wù)的重要組成部分。相比于傳統(tǒng)互聯(lián)網(wǎng),移動互聯(lián)網(wǎng)對服務(wù)器的架構(gòu)設(shè)計提出了諸多全新的挑戰(zhàn)。首先,為保障優(yōu)秀的用戶體驗,移動互聯(lián)網(wǎng)服務(wù)要求更快的網(wǎng)絡(luò)響應(yīng)速度;第二,數(shù)量巨大的移動設(shè)備和更細(xì)粒度的接口數(shù)據(jù)使得網(wǎng)絡(luò)訪問呈現(xiàn)出海量性和碎片化的特點,需要服務(wù)器具有更好的接口容量;第三,在大數(shù)據(jù)技術(shù)的支撐下,移動互聯(lián)網(wǎng)服務(wù)能夠更精確的捕獲用戶需求,因此其迭代周期越來越短,需要高效快速的運(yùn)維方案。針對上述挑戰(zhàn),本文從提高網(wǎng)絡(luò)訪問速度、接口容量和提高運(yùn)維效率等方面,提出了一種面向移動互聯(lián)網(wǎng)的高可用服務(wù)器架構(gòu)。具體研究內(nèi)容包括:(1)針對網(wǎng)絡(luò)響應(yīng)速度問題,本文從提高讀數(shù)據(jù)速度的角度,提出了數(shù)據(jù)預(yù)備和數(shù)據(jù)預(yù)測模型,并結(jié)合緩存策略實現(xiàn)對用戶所需數(shù)據(jù)的提前檢索和整理;從提高寫數(shù)據(jù)速度的角度,引入了RPC服務(wù)模型和消息隊列服務(wù)模型,通過分布式策略解決了資源競爭和數(shù)據(jù)入庫帶來的耗時問題。(2)針對接口容量問題,本文利用Docker高效的虛擬化技術(shù)和容器鏡像的強(qiáng)大復(fù)制能力實現(xiàn)短時間內(nèi)快速構(gòu)建出易于治理的大規(guī)模集群服務(wù)。在此基礎(chǔ)上,通過在集群網(wǎng)絡(luò)前端引入LVS負(fù)載均衡系統(tǒng),實現(xiàn)了對所有容器中子節(jié)點的資源調(diào)度,從而提高了服務(wù)器的接口容量。(3)針對高效運(yùn)維問題,本文提出了基于Cat的實時監(jiān)控,可以做到實時掌握系統(tǒng)的運(yùn)行狀態(tài)、實時報警;還提出了基于Jenkins的持續(xù)集方案,能夠做到對編譯、測試、構(gòu)建和部署的整個流程的封裝,實現(xiàn)無人值守。最后,本文對提出的高可用服務(wù)器架構(gòu)方案進(jìn)行了實驗,通過對若干關(guān)鍵指標(biāo)的檢測,證明了本文所提方案的高可用性。
[Abstract]:In recent years, with the rapid development of network technology and the wide spread of intelligent terminals, mobile Internet has penetrated into the study, work, life, entertainment and other aspects, become an indispensable tool in social production and life. High availability of server architecture is an important part of supporting Internet services. Compared with traditional Internet, mobile Internet poses many new challenges to server architecture design. First, in order to ensure excellent user experience, mobile Internet services require faster network response speed; second, a large number of mobile devices and more fine-grained interface data make network access show the characteristics of mass and fragmentation. Third, with the support of big data technology, mobile Internet services can capture user requirements more accurately, so its iteration period is shorter and shorter, which requires efficient and fast operation and maintenance scheme. In view of the above challenges, this paper proposes a high availability server architecture for mobile Internet from the aspects of improving network access speed, interface capacity and operation and maintenance efficiency. The specific research contents include: (1) aiming at the problem of network response speed, this paper puts forward the model of data preparation and data prediction from the point of view of improving the speed of reading data, and combines the cache strategy to realize the advance retrieval and collation of the data required by users; In order to improve the speed of writing data, RPC service model and message queue service model are introduced. Through distributed strategy, the time-consuming problem caused by resource competition and data storage is solved. This paper makes use of Docker's efficient virtualization technology and the powerful replication ability of container mirror to build a large cluster service which is easy to govern in a short time. On this basis, by introducing LVS load balancing system to the front end of cluster network, the resource scheduling of all container neutron nodes is realized, which improves the interface capacity of server. In this paper, we put forward the real-time monitoring based on Cat, which can grasp the running state of the system in real time and alarm in real time, and also put forward the continuous set scheme based on Jenkins, which can encapsulate the whole process of compiling, testing, constructing and deploying. The realization of unattended. Finally, the proposed scheme of high availability server architecture is tested, and the high availability of the proposed scheme is proved by the detection of some key indexes.
【學(xué)位授予單位】:哈爾濱工業(yè)大學(xué)
【學(xué)位級別】:碩士
【學(xué)位授予年份】:2017
【分類號】:TP368.5
【參考文獻(xiàn)】
相關(guān)期刊論文 前10條
1 于金良;朱志祥;李聰穎;;一種分布式消息隊列研究與測試[J];物聯(lián)網(wǎng)技術(shù);2016年08期
2 陳世宜;葉德建;;基于SOA架構(gòu)的新型云平臺服務(wù)管理中間件[J];微型電腦應(yīng)用;2016年07期
3 譚偉鋒;;基于B/S模式的體檢信息系統(tǒng)開發(fā)與應(yīng)用[J];醫(yī)學(xué)信息學(xué)雜志;2016年04期
4 畢桂;;基于Proactor模型的NIO框架的設(shè)計[J];自動化與儀器儀表;2016年04期
5 魚朝偉;詹舒波;;基于RabbitMQ的異步全雙工消息總線的實現(xiàn)[J];軟件;2016年02期
6 楊菁;;基于LAMP架構(gòu)服務(wù)器安全加固與性能優(yōu)化研究[J];科技經(jīng)濟(jì)導(dǎo)刊;2016年02期
7 曹e,
本文編號:2038345
本文鏈接:http://sikaile.net/kejilunwen/jisuanjikexuelunwen/2038345.html
最近更新
教材專著