基于微服務架構的系統(tǒng)設計與開發(fā)
本文選題:微服務 + Spring。 參考:《南京郵電大學》2017年碩士論文
【摘要】:近幾年來微服務架構異常的火熱,以至用來構建微服務的Netflix、Dubbo、Spring Cloud等產品社區(qū)也變得越來越活躍。簡而言之,微服務就是將一個完整的應用從數(shù)據(jù)存儲到業(yè)務邏輯開發(fā)垂直切分為多個不同的服務,每個服務都具有自己獨立的生命周期和服務邊界,可以獨立部署、獨立維護、獨立擴展,服務與服務之間通過統(tǒng)一風格協(xié)議的API進行相互通信。與此同時,Docker容器技術的流行也加快了微服務普及的進程。本文首先研究了微服務架構的基本思路和Docker容器技術的核心原理為課題研究作可行性研究和積累充足的理論和技術基礎。接著介紹了現(xiàn)今比較流行的微框架Spring Boot,本課題中所開發(fā)的所有服務都是基于Spring Boot開發(fā)的。然后本文選擇共享經濟中私人公寓和私家車的產品模型作為業(yè)務開發(fā)方向,基于Spring Cloud將系統(tǒng)垂直切分為4個獨立的業(yè)務服務:產品服務、訂單服務、用戶服務和公共服務。系統(tǒng)集成Eureka做服務發(fā)現(xiàn),使用Zuul做路由網(wǎng)關,使用Feign做負載均衡,課題項目使用Docker容器部署所有的服務。課題根據(jù)上述的技術架構使用Java語言完整地開發(fā)出了整個私人公寓和私家車出租系統(tǒng),并順利地通過了功能和性能測試,基本達到了預期設計。
[Abstract]:In recent years, the microservice architecture has become so hot that the Netflix Cloud and other product communities used to build microservices have become more and more active. In short, a microservice is to divide a complete application from data storage to business logic development vertically into multiple different services, each with its own independent lifecycle and service boundaries that can be deployed independently and maintained independently. Independent extensions, where services communicate with each other through a Unified style Protocol (API). At the same time, the popularity of Docker container technology has accelerated the spread of microservices. In this paper, the basic idea of micro-service architecture and the core principle of Docker container technology are studied firstly. Then it introduces the popular micro framework Spring Boot. All the services developed in this paper are based on Spring Boot. Then the product model of private apartment and private car in the sharing economy is selected as the business development direction. Based on Spring Cloud, the system is divided vertically into four independent business services: product service, order service, user service and public service. The system integrates Eureka as service discovery, Zuul as routing gateway and Feign as load balancing. The project uses Docker container to deploy all services. According to the above technical framework, the whole private apartment and private car rental system has been developed by using Java language, and the function and performance test has been successfully passed, and the expected design has been basically achieved.
【學位授予單位】:南京郵電大學
【學位級別】:碩士
【學位授予年份】:2017
【分類號】:TP311.52
【參考文獻】
相關期刊論文 前9條
1 倪禮豪;葉海鵬;;三網(wǎng)融合環(huán)境下企業(yè)私有云PaaS平臺構建研究[J];軟件;2015年08期
2 劉思堯;李強;李斌;;基于Docker技術的容器隔離性研究[J];軟件;2015年04期
3 馬越;黃剛;;基于Docker的應用軟件虛擬化研究[J];軟件;2015年03期
4 張建;謝天鈞;;基于Docker的平臺即服務架構研究[J];信息技術與信息化;2014年10期
5 丁養(yǎng)志;;淺析虛擬化技術在云計算中的運用[J];軟件;2014年03期
6 羅軍舟;金嘉暉;宋愛波;東方;;云計算:體系架構與關鍵技術[J];通信學報;2011年07期
7 吳義鵬;;基于容器虛擬化技術研究[J];軟件;2010年11期
8 張宇;王映輝;張翔南;;基于Spring的MVC框架設計與實現(xiàn)[J];計算機工程;2010年04期
9 熊忠陽;鄭元兵;張玉芳;;基于J2EE的高可用性Web集群的設計及實現(xiàn)[J];計算機工程與設計;2006年22期
相關碩士學位論文 前6條
1 仇臣;Docker容器的性能監(jiān)控和日志服務的設計與實現(xiàn)[D];浙江大學;2016年
2 梁東;基于J2EE的星級酒店多重業(yè)務系統(tǒng)的設計與實現(xiàn)[D];吉林大學;2015年
3 張雪鵬;基于開源軟件的應用系統(tǒng)云化方法研究與實踐[D];杭州電子科技大學;2015年
4 王雪鵬;基于J2EE的酒店管理系統(tǒng)的設計與實現(xiàn)[D];電子科技大學;2013年
5 黎磊;集團酒店中央預訂系統(tǒng)的設計與實現(xiàn)[D];中山大學;2013年
6 陳群;酒店管理信息系統(tǒng)的設計與實現(xiàn)[D];電子科技大學;2013年
,本文編號:1869956
本文鏈接:http://www.sikaile.net/kejilunwen/ruanjiangongchenglunwen/1869956.html