网易邮箱大师超大附件服务的设计与实现
发布时间:2018-05-25 10:45
本文选题:邮箱大师 + 超大附件 ; 参考:《南京大学》2017年硕士论文
【摘要】:随着移动互联网的快速发展,电子邮箱应用的发展也呈现出移动化,平台化的发展面貌。网易公司于2015年推出了全新的app网易邮箱大师,布局移动互联网的同时,也计划取代旧版的网易闪电邮客户端。其中超大附件功能作为收发邮件的常用功能,于2016年正式推出。超大附件支持用户上传最大2GB的超大文件作为附件,用户个人的最高容量高达3GB,方便用户进行大文件的传输。然而超大附件功能于在发布后,上传速度与预期要求相差甚远,对用户体验造成了明显的影响。与此同时客户端要求本服务可以支持同时上传多个文件,这将会使速度上的问题更加突出。为了改进用户体验,实现新的需求,本文决定基于Netty框架重新开发一个全新的服务,代替旧版服务,为邮箱大师windows版提供超大附件服务。基于以上项目背景与技术背景,本文围绕新版超大附件服务的设计与实现,主要展开了以下工作:(1)从体系结构,IO模型,具体实现等多个角度分析旧版服务,找出旧版超大附件服务性能不理想的原因。(2)根据分析结果进行新的设计,采用改变整体架构,选择高性能IO模型,重新设计线程模型,优化与客户端的交互协议,多地部署服务等措施,解决旧版服务的性能问题。(3)在以性能为主要关注点的基础上,对超大附件服务的功能进行需求分析与模块设计,根据功能需求将服务划分为5个模块,包括客户端连接模块,存储服务连接模块,协议实现模块,配置模块和连接监控模块。本文对各个模块的设计与实现进行了详细的介绍。
[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
本文链接:https://www.wllwen.com/guanlilunwen/ydhl/1933152.html