一种分布式服务框架的设计与实现
本文选题:SOA + 分布式 ; 参考:《北京邮电大学》2013年硕士论文
【摘要】:近几年来,随着企业信息化和国内互联网的高速发展,人们对应用系统的依赖和需求不断提高。同时,各种移动终端产品的不断出现,人们获取信息的途径趋于多样化并且质量要求也越来越高,这就导致了应用系统的业务持续膨胀和功能不断增加,原有应用系统架构无法满足水平和垂直扩展,同时也难以达到性能要求。造成的现象是:应用系统各个模块具体实现技术不统一,部署各个模块的要求规范和实施流程也不一致,其模块之间的交互方式也没有统一的接口规范。这种现象给应用系统的稳定性带来了很大的隐患,直接威胁着应用系统的线上正常运营。因此非常有必要开发一套通用的、高效率、简单实用的分布式服务框架,在应用系统在开发初期就能满足分布式水平和垂直扩展特殊需求。让企业投入较小的成本来搭建一套高性能、扩展性好的分布式应用系统。 本文课题来自实验室国家自然科学基金和国内某知名互联网企业商业搜索的广告平台项目,以面向业务应用系统的复杂需求和性能为对象设计并且实现一套通用分布式服务框架,致力于提供高性能和透明化的远程服务调用方案(Remote Procedure Call, RPC)、SOA (Service Oriented Architecture)服务治理方案以及关系型数据(Mysql)的分布式处理方案。在开发模式方面,上采用多版本并行开发模式,保证新功能的开发和稳定性的提高。这能使新的需求功能在高版本中能快速得到响应,同时降低其对框架本身稳定性的影响。在设计方面,遵循API (Application Programming Interface)和SPI (Service Provide Interface)分离、服务域/实体域/会话域分离、扩展接口职责单一、微核插件式、友好的CoC约定和增量式扩展等原则。在实现方面,Java主要实现各个模块基本功能,XML用来定义交互协议标准。在测试方面,结合版本约定进行迭代开发和功能回归测试,同时对其性能进行压力测试。 最后将该框架运用于实际系统的开发和运营。测试结果和线上运行状态表明,该框架能良好的支持业务的水平和垂直扩展。能够快速响应业务需求的开发和上线,使得应用系统功能服务低耦合,并且还能透明提供分布式环境海量数据服务。
[Abstract]:In recent years, with the rapid development of enterprise informatization and domestic Internet, people's dependence on and demand for application systems are increasing.At the same time, with the emergence of various mobile terminal products, people's access to information is becoming more and more diverse and the quality requirements are becoming higher and higher, which leads to the continuous expansion of the business and the continuous increase of functions of the application system.The original application system architecture can not meet the horizontal and vertical expansion, but also difficult to achieve performance requirements.The phenomenon is that the technology of each module of application system is not uniform, the requirements and implementation flow of each module are not consistent, and the interaction between modules is not uniform interface specification.This phenomenon brings great hidden trouble to the stability of the application system and directly threatens the normal operation of the application system online.Therefore, it is necessary to develop a general, efficient, simple and practical distributed service framework, which can meet the special requirements of distributed horizontal and vertical extension in the early stage of development.Let the enterprise invest small cost to build a set of high performance, good expansibility distributed application system.The subject of this paper comes from the National Natural Science Foundation of the laboratory and the advertising platform project of commercial search for a well-known Internet enterprise in China.A general distributed service framework is designed and implemented based on the complex requirements and performance of the business application system.It is dedicated to provide high performance and transparent remote Procedure call, RPC-SOA Service Oriented Architecture) service governance scheme and distributed processing scheme of relational data Mysql.In the aspect of development mode, multi-version parallel development mode is adopted to ensure the development of new function and the improvement of stability.This allows the new requirements to respond quickly in higher versions, while reducing its impact on the stability of the framework itself.In the aspect of design, we follow the principles of separation of API application Programming interface and SPI service Provide interface, separation of service domain / entity domain / session domain, single responsibility of extended interface, microcore plug-in, friendly CoC convention and incremental extension.In terms of implementation, Java mainly implements the basic functions of each module. XML is used to define the standard of interaction protocol.In terms of testing, iterative development and functional regression testing are carried out in combination with the version convention, and its performance is tested under stress.Finally, the framework is applied to the development and operation of the actual system.The test results and the running state on line show that the framework can support the horizontal and vertical expansion of business well.It can quickly respond to the development of business requirements and online, make the application system function services low coupling, and can provide transparent distributed environment mass data services.
【学位授予单位】:北京邮电大学
【学位级别】:硕士
【学位授予年份】:2013
【分类号】:TP311.52
【参考文献】
相关期刊论文 前2条
1 孙奎;刘万军;;基于owl-s的语义web服务发现研究[J];微计算机信息;2010年24期
2 许兆新;王海燕;;高可用服务注册机制的设计与实现[J];应用科技;2010年03期
相关博士学位论文 前2条
1 张启文;基于SOA的供应链异构系统集成研究[D];东华大学;2011年
2 邓水光;Web服务自动组合与形式化验证的研究[D];浙江大学;2007年
相关硕士学位论文 前10条
1 黄智斌;企业信息化整合的规划与设计[D];华东师范大学;2010年
2 刘磊;基于RIA和SOA的分布式WebGIS研究[D];江西理工大学;2011年
3 梅高永;Web缓存技术的研究[D];东北大学;2009年
4 吕志国;SOA环境下服务的安全属性描述与保护研究[D];解放军信息工程大学;2011年
5 张琳;基于数据流缓存机制的网关加速的分析与研究[D];北京交通大学;2008年
6 谭晓鹿;基于SOA的物流管理软件的设计与实现[D];华东师范大学;2008年
7 王淳;基于SOA的电力企业信息系统的研究与应用[D];华北电力大学(北京);2008年
8 王齐;分布式服务平台架构设计与实现[D];南京理工大学;2008年
9 郭文静;面向语义Web的服务匹配技术的研究[D];天津理工大学;2008年
10 陈皓;基于OSGI的医疗流程系统的设计与实现[D];山东大学;2008年
,本文编号:1755291
本文链接:https://www.wllwen.com/wenyilunwen/guanggaoshejilunwen/1755291.html