網(wǎng)易郵箱大師超大附件服務(wù)的設(shè)計(jì)與實(shí)現(xiàn)
發(fā)布時(shí)間:2018-05-25 10:45
本文選題:郵箱大師 + 超大附件; 參考:《南京大學(xué)》2017年碩士論文
【摘要】:隨著移動(dòng)互聯(lián)網(wǎng)的快速發(fā)展,電子郵箱應(yīng)用的發(fā)展也呈現(xiàn)出移動(dòng)化,平臺(tái)化的發(fā)展面貌。網(wǎng)易公司于2015年推出了全新的app網(wǎng)易郵箱大師,布局移動(dòng)互聯(lián)網(wǎng)的同時(shí),也計(jì)劃取代舊版的網(wǎng)易閃電郵客戶端。其中超大附件功能作為收發(fā)郵件的常用功能,于2016年正式推出。超大附件支持用戶上傳最大2GB的超大文件作為附件,用戶個(gè)人的最高容量高達(dá)3GB,方便用戶進(jìn)行大文件的傳輸。然而超大附件功能于在發(fā)布后,上傳速度與預(yù)期要求相差甚遠(yuǎn),對(duì)用戶體驗(yàn)造成了明顯的影響。與此同時(shí)客戶端要求本服務(wù)可以支持同時(shí)上傳多個(gè)文件,這將會(huì)使速度上的問(wèn)題更加突出。為了改進(jìn)用戶體驗(yàn),實(shí)現(xiàn)新的需求,本文決定基于Netty框架重新開(kāi)發(fā)一個(gè)全新的服務(wù),代替舊版服務(wù),為郵箱大師windows版提供超大附件服務(wù);谝陨享(xiàng)目背景與技術(shù)背景,本文圍繞新版超大附件服務(wù)的設(shè)計(jì)與實(shí)現(xiàn),主要展開(kāi)了以下工作:(1)從體系結(jié)構(gòu),IO模型,具體實(shí)現(xiàn)等多個(gè)角度分析舊版服務(wù),找出舊版超大附件服務(wù)性能不理想的原因。(2)根據(jù)分析結(jié)果進(jìn)行新的設(shè)計(jì),采用改變整體架構(gòu),選擇高性能IO模型,重新設(shè)計(jì)線程模型,優(yōu)化與客戶端的交互協(xié)議,多地部署服務(wù)等措施,解決舊版服務(wù)的性能問(wèn)題。(3)在以性能為主要關(guān)注點(diǎn)的基礎(chǔ)上,對(duì)超大附件服務(wù)的功能進(jìn)行需求分析與模塊設(shè)計(jì),根據(jù)功能需求將服務(wù)劃分為5個(gè)模塊,包括客戶端連接模塊,存儲(chǔ)服務(wù)連接模塊,協(xié)議實(shí)現(xiàn)模塊,配置模塊和連接監(jiān)控模塊。本文對(duì)各個(gè)模塊的設(shè)計(jì)與實(shí)現(xiàn)進(jìn)行了詳細(xì)的介紹。
[Abstract]:With the rapid development of mobile internet, the development of e-mail application also presents the development of mobile and platform. NetEase launched its new app NetEase mailbox master in 2015, which also plans to replace the old NetEase Flash Mail client as it deploys the mobile Internet. One of the super-large attachment function as a common function to send and receive mail, in 2016 officially launched. The super-large attachment supports the user to upload the largest 2GB file as the attachment. The maximum capacity of the user is up to 3GB, which is convenient for the user to transmit the large files. However, after the release of the super-large attachment function, the upload speed is far from the expected requirement, which has a significant impact on the user experience. At the same time, the client requests that the service can upload multiple files at the same time, which will make the speed problem more prominent. In order to improve the user experience and meet the new requirements, this paper decides to develop a new service based on Netty framework, instead of the old version of the service, and to provide the super attachment service for the windows version of the master mailbox. Based on the background of the above project and the technical background, this paper focuses on the design and implementation of the new version of super-large attachment service, mainly includes the following work: 1) analyzing the old version service from several angles, such as the architecture of IO model, the concrete implementation and so on. Find out the reason why the service performance of the old super-large accessories is not ideal. (2) according to the analysis result, we design the new design, adopt changing the whole architecture, choose the high performance IO model, redesign the thread model, optimize the interaction protocol with the client. In order to solve the performance problem of the old version of service, based on the main concern of performance, the requirement analysis and module design of the super accessory service are carried out, and the service is divided into five modules according to the functional requirements. It includes client connection module, storage service connection module, protocol implementation module, configuration module and connection monitoring module. This paper introduces the design and implementation of each module in detail.
【學(xué)位授予單位】:南京大學(xué)
【學(xué)位級(jí)別】:碩士
【學(xué)位授予年份】:2017
【分類號(hào)】:TP393.098
,
本文編號(hào):1933152
本文鏈接:http://sikaile.net/guanlilunwen/ydhl/1933152.html
最近更新
教材專著