網(wǎng)易郵箱大師超大附件服務的設(shè)計與實現(xiàn)
發(fā)布時間:2018-05-25 10:45
本文選題:郵箱大師 + 超大附件 ; 參考:《南京大學》2017年碩士論文
【摘要】:隨著移動互聯(lián)網(wǎng)的快速發(fā)展,電子郵箱應用的發(fā)展也呈現(xiàn)出移動化,平臺化的發(fā)展面貌。網(wǎng)易公司于2015年推出了全新的app網(wǎng)易郵箱大師,布局移動互聯(lián)網(wǎng)的同時,也計劃取代舊版的網(wǎng)易閃電郵客戶端。其中超大附件功能作為收發(fā)郵件的常用功能,于2016年正式推出。超大附件支持用戶上傳最大2GB的超大文件作為附件,用戶個人的最高容量高達3GB,方便用戶進行大文件的傳輸。然而超大附件功能于在發(fā)布后,上傳速度與預期要求相差甚遠,對用戶體驗造成了明顯的影響。與此同時客戶端要求本服務可以支持同時上傳多個文件,這將會使速度上的問題更加突出。為了改進用戶體驗,實現(xiàn)新的需求,本文決定基于Netty框架重新開發(fā)一個全新的服務,代替舊版服務,為郵箱大師windows版提供超大附件服務;谝陨享椖勘尘芭c技術(shù)背景,本文圍繞新版超大附件服務的設(shè)計與實現(xiàn),主要展開了以下工作:(1)從體系結(jié)構(gòu),IO模型,具體實現(xiàn)等多個角度分析舊版服務,找出舊版超大附件服務性能不理想的原因。(2)根據(jù)分析結(jié)果進行新的設(shè)計,采用改變整體架構(gòu),選擇高性能IO模型,重新設(shè)計線程模型,優(yōu)化與客戶端的交互協(xié)議,多地部署服務等措施,解決舊版服務的性能問題。(3)在以性能為主要關(guān)注點的基礎(chǔ)上,對超大附件服務的功能進行需求分析與模塊設(shè)計,根據(jù)功能需求將服務劃分為5個模塊,包括客戶端連接模塊,存儲服務連接模塊,協(xié)議實現(xiàn)模塊,配置模塊和連接監(jiān)控模塊。本文對各個模塊的設(shè)計與實現(xiàn)進行了詳細的介紹。
[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.
【學位授予單位】:南京大學
【學位級別】:碩士
【學位授予年份】:2017
【分類號】:TP393.098
,
本文編號:1933152
本文鏈接:http://sikaile.net/guanlilunwen/ydhl/1933152.html
最近更新
教材專著