| With the rapid development of cloud computing and the Internet,network e-commerce has gradually entered thousands of households,and the e-commerce system has a large number of users.The demand for ecommerce system also increases rapidly with the growth of users,and the business is becoming more and more complex.In this case,the traditional single architecture of e-commerce has exposed a lot of problems,such as high degree of code coupling,time-consuming deployment online,unclear responsibility boundaries between teams,etc.All these problems show that single architecture is not enough to support the subsequent development of e-commerce system.In this context,this paper designs and implements an e-mall system based on micro-service architecture by studying the micro-service architecture and based on the current mainstream micro-service development framework Spring Cloud Alibaba.Firstly,the business background and development status of the electronic mall system are studied,and the challenges faced by the current e-commerce system are expounded.Then,the core business of the electronic mall system is investigated,and the functional demand analysis of the system is completed from the two aspects of the e-commerce management end and the client end.At the same time,the non-functional demand analysis of the system is required.On this basis,the overall technical architecture of the system is set up.By referring to the splitting criteria of micro-services,micro-services are divided based on the business requirements of each module,and each functional module and database are designed.Then,the detailed design of each business module is completed through sequence diagram,class diagram and main functional interface.Each module is independently developed and deployed,which reduces the coupling between systems and improves the efficiency of system development and deployment.This paper also studies the basic components that microservices architecture depends on,and introduces its design and implementation process.Finally,the functional requirements of the system were tested comprehensively,and the performance of the system was tested using pressure measuring tools.The test results met the expected requirements and verified the advantages of the microservices architecture. |