天堂国产午夜亚洲专区-少妇人妻综合久久蜜臀-国产成人户外露出视频在线-国产91传媒一区二区三区

當前位置:主頁 > 科技論文 > 軟件論文 >

基于微服務架構的平臺化服務框架的設計與實現(xiàn)

發(fā)布時間:2018-12-15 19:41
【摘要】:隨著互聯(lián)網和軟件技術的發(fā)展,軟件系統(tǒng)架構從單體式架構到面向服務架構一直在不斷演進。近年來,面向服務的架構方式由于其靈活、解耦、規(guī)范化等諸多優(yōu)勢,被廣泛應用于大型企業(yè)系統(tǒng)架構。但是基于ESB(Enterprise Service Bus)構建的面向服務架構也存在集中化、成本高、維護難等問題。對于面向服務架構的不足,國內外互聯(lián)網企業(yè)探索通過微服務架構方式,優(yōu)化系統(tǒng)服務化的構建和管理。微服務架構去中心化、高度自治、自動化等特點進一步對系統(tǒng)架構進行解耦,并且和敏捷迭代、DevOps文化更加契合,可以使用較低的成本,滿足企業(yè)軟件研發(fā)體系結構發(fā)展需要,提高研發(fā)效率,規(guī)范服務治理。本文對使用API網關構建微服務系統(tǒng)進行了分析和研究。首先,基于Spring Boot框架和Protocol Buffers實現(xiàn)了高效的微服務開發(fā)框架,它支持服務定義、服務注冊發(fā)現(xiàn)、服務間REST和RPC通信、服務持續(xù)集成等功能。另外,結合Nginx和Lua語言的OpenResty平臺,開發(fā)了具有權限校驗、流量控制、反向代理等功能的高性能的API網關以及API網關的業(yè)務管理系統(tǒng)。按照軟件工程研發(fā)的流程和方法,結合公司具體業(yè)務和服務治理需求,通過用例建模分析系統(tǒng)需求、通過系統(tǒng)邏輯架構完成公司服務治理方案、微服務開發(fā)框架和API網關的架構設計,分析和實現(xiàn)了各系統(tǒng)之間主要接口,完成了 API網關的數(shù)據(jù)庫設計。設計流程圖、類圖和時序圖,完成本人主要負責的服務框架腳本工具、服務間通信、API網關請求代理以及流量控制配置功能的詳細設計并進行編碼實現(xiàn)。最后通過功能性測試和非功能性測試對系統(tǒng)功能和性能進行了驗證。目前本項目的微服務開發(fā)框架已經在公司多個產品線中投入使用,API網關每日支撐了數(shù)億次API調用請求。隨著公司繼續(xù)推進微服務架構快速發(fā)展,平臺化服務框架的生態(tài)會更加豐富和完善。
[Abstract]:With the development of Internet and software technology, software system architecture has been evolving from single architecture to service oriented architecture. In recent years, service-oriented architecture has been widely used in large enterprise systems because of its flexibility, decoupling, standardization and many other advantages. However, the service-oriented architecture based on ESB (Enterprise Service Bus) also has some problems, such as centralization, high cost and difficult maintenance. For the shortcomings of service-oriented architecture, domestic and foreign Internet enterprises explore the way of micro-service architecture to optimize the construction and management of system service. The characteristics of microservice architecture such as decentralization, high autonomy, automation and so on further decouple the system architecture, and it is more compatible with agile iteration and DevOps culture, and can use lower cost to meet the development needs of enterprise software R & D architecture. Improve R & D efficiency and standardize service management. This paper analyzes and studies the use of API gateway to build a micro-service system. Firstly, an efficient microservice development framework based on Spring Boot framework and Protocol Buffers is implemented. It supports service definition, service registration and discovery, REST and RPC communication between services, continuous integration of services, and so on. In addition, based on the OpenResty platform of Nginx and Lua, a high performance API gateway and a service management system of API gateway are developed with the functions of authorization check, traffic control, reverse proxy and so on. According to the process and method of software engineering research and development, combined with the specific business and service management requirements of the company, the system requirements are analyzed by use case modeling, and the corporate service governance scheme is completed through the system logic architecture. The architecture design of micro service development framework and API gateway is analyzed and implemented. The database design of API gateway is completed. Design flow chart, class diagram and timing diagram, complete the main responsible service framework script tools, inter-service communication, API gateway request agent and flow control configuration function of the detailed design and coding implementation. Finally, the function and performance of the system are verified by functional test and non-functional test. At present, the microservice development framework of this project has been put into use in many product lines of the company, and the API gateway supports hundreds of millions of API call requests a day. As the company continues to promote the rapid development of micro-service architecture, the ecosystem of platform-based service framework will be more rich and perfect.
【學位授予單位】:北京交通大學
【學位級別】:碩士
【學位授予年份】:2017
【分類號】:TP311.52

【參考文獻】

相關期刊論文 前6條

1 張寶玉;;淺析HTTPS協(xié)議的原理及應用[J];網絡安全技術與應用;2016年07期

2 郭棟;王偉;曾國蓀;;一種基于微服務架構的新型云件PaaS平臺[J];信息網絡安全;2015年11期

3 楊揚;賈君君;李晨;;面向服務架構的云計算平臺[J];計算機應用;2015年S1期

4 張亞;;基于SOA架構軟件服務可靠性評價方法研究[J];計算機技術與發(fā)展;2015年04期

5 沈琦;湯艷;;Google云計算平臺服務框架研究[J];電子商務;2013年06期

6 馮新?lián)P;沈建京;;REST和RPC:兩種Web服務架構風格比較分析[J];小型微型計算機系統(tǒng);2010年07期

相關碩士學位論文 前7條

1 張羽;一種分布式服務治理框架的設計與實現(xiàn)[D];北京交通大學;2016年

2 唐文宇;面向SOA架構微服務的安全系統(tǒng)的設計與實現(xiàn)[D];南京大學;2016年

3 靳瑩;基于緩存技術的內容管理系統(tǒng)研究[D];吉林大學;2014年

4 史鵬龍;基于普元產品的SOA服務治理產品設計與實現(xiàn)[D];西安電子科技大學;2014年

5 陶明;一種分布式服務框架的設計與實現(xiàn)[D];北京郵電大學;2013年

6 莫佳駿;基于SaaS模式的服務集成框架的研究[D];北京郵電大學;2010年

7 張恒伽;基于中間人攻擊的HTTPS協(xié)議安全性分析[D];上海交通大學;2009年

,

本文編號:2381184

資料下載
論文發(fā)表

本文鏈接:http://sikaile.net/kejilunwen/ruanjiangongchenglunwen/2381184.html


Copyright(c)文論論文網All Rights Reserved | 網站地圖 |

版權申明:資料由用戶72c22***提供,本站僅收錄摘要或目錄,作者需要刪除請E-mail郵箱bigeng88@qq.com