| With the rapid development of Internet Information technology,software architecture has evolved from the traditional monolithic architecture to the SOA(service-oriented architecture)architecture,to the popular Microservices architecture in recent years.The Microservice architecture divides large and complex software application services into small modules(Microservice),each of which is responsible for completing only one or part of the business functions and cooperating with each other to complete the overall functions of the system.Each module(Microservice)has low coupling with each other and can use the programming development language that is appropriate for its own module.Which mean each service can be developed independently of each other,independently expanded,deployed independently,and communicated between services and services through a unified,lightweight means of communication.If you modify only a small number of features or bug fixing,the Microservice architecture does not need to rebuild and deploy the entire program,and even as the system expands and complexity increases,changes to one module of the Microservice architecture application do not affect the remaining modules,and the start-up time of deployment does not increase as the size of the application increases.Docker container technology as a natural micro-service carrier,high operating efficiency,lightweight isolation,very rapid start-up.deployment is very convenient,and so on,greatly promote the development and growth of micro-service.This paper studies and analyzes the characteristics of the Microservices architecture and the advantages and underlying principles of Docker container technology,accumulates the necessary theoretical and technical basis for this subject and provides a feasibility study to extend it to relevant technologies and theories such as the Web API and the Spring Boot framework,as well as the MQTT message protocol,JWT Token authentication method,HTTPS communication security and so on.Under this premise,combined with the specific business requirements of the project,the Production department service system and after-service system of the micro-service architecture based on Docker technology are realized,the related functional tests are achieved,the expected goals of the design are reached,and also provided a useful reference of the development and application of the Microservices based Microservices architecture. |