Font Size: a A A

The Design And Implementation Of A Lightweight Microservice Development Platform Based On Node.js And Etcd

Posted on:2019-10-09Degree:MasterType:Thesis
Country:ChinaCandidate:Y T GuoFull Text:PDF
GTID:2428330590975660Subject:Software engineering
Abstract/Summary:PDF Full Text Request
With the development of information technology and the increasing dependence on various services provided by information technology,the software system is becoming more and more complex.Under this trend of development,the disadvantages of the traditional monolithic architecture pattern are becoming increasingly apparent,more attention are paid to the concept,which is a software architecture pattern that divides the software into several services that can run independently and obtains better engineering characteristics.At present,there have been some implementation schemes of microservice architecture in the industry.But these schemes still have the disadvantages of introducing too many components,high threshold for learning and using.Therefore,the industry needs a lightweight implementation plan for supporting the development work and operations for the microservice architecture pattern.This project designed and implemented a lightweight microservice development platform based on Node.js and Etcd technology.Among them,Node.js has superior performance in high concurrent scenarios dominated by IO,while Etcd is a distributed key-value storage system based on Raft protocol,which enhances the reliability of the platform in a distributed environment.The main contribution of this work includes as follows:Firstly,a node management component is designed and implemented.This component is the basis for the implementation of the platform.It provides the basic technical support for the microservice programs on each server in the platform.It provides the possibility for the operators and developers to control the entire cluster immediately.Furthermore,a platform management component is designed and implemented.It provides the API for the management of the platform,so that technicians can manage the platform with the help of the automated scripts or visual clients based on these API.Finally,an API gateway component is designed and implemented.This component is responsible for processing requests from the outside of the platform.The relevant technical staff can integrate the custom request processing logic in this component.This component plays the role of coordinating the internal microservices.The lightweight microservice development platform which consists of the 3 components above and is studied and implemented in this paper has been validated in actural production environment.The actual effect shows that the platform can quickly practice the concepts related to the microservice architecture and improve the efficiency of the related operations and development work.
Keywords/Search Tags:Node.js, Etcd, distributed system, microservice architecture, API gateway
PDF Full Text Request
Related items