| With the increase of Internet users in China,the group of online shopping is also expanding.The traditional e-commerce system has been unable to meet the needs of enterprises for ecommerce system due to its poor scalability,difficult to maintain and high functional coupling,which makes the development of enterprises encounter a bottleneck.In this case,a kind of service-oriented development architecture is gradually coming into the vision of the enterprise.In order to meet the development needs of e-commerce enterprises for the enterprise system to be able to quickly respond to market changes,service-oriented enterprises can distinguish business modules and deploy them as services that can run independently.Each service has the characteristics of low coupling and easy expansion.We call this service micro service.In this paper,the e-commerce system adopts the service-oriented idea,applies Dubbo distributed service framework(one of the implementation frameworks of SOA theory),and forms a mechanism with zookeeper as the registration center to manage and dispatch Dubbo service producers and Dubbo service consumers.Dubbo distributed service framework is a service-oriented framework developed based on RPC.The e-commerce system is divided into six systems: commodity system,order system,shopping cart system,user system,commodity retrieval system and marketing system,which can effectively reduce the coupling degree of the system.In the commodity retrieval system,we use elastic search technology to sort the relevance of the system commodities.The business sub-systems of the micro service ecommerce system are all deployed and operated separately,and there is no dependency between the sub-systems,which can cope with the changeable business scenarios and have a high degree of scalability.This paper introduces the research background,purpose and significance,research content and organizational structure of micro service e-commerce system.This paper introduces the key technologies involved in this system and the purpose of using these technologies in this system.Based on the analysis of e-commerce system,this paper designs the overall architecture and specific functions of micro service e-commerce system through system architecture,business structure,functional flow chart and activity chart,and designs the structure of database table according to E-R chart.This micro service e-commerce system adopts spring boot framework,Dubbo distributed service architecture,redis cache technology and elasticsearch full-text retrieval technology to realize a complete set of micro service e-commerce system based on Dubbo,and show the specific implementation of each system in the form of page.Based on the implementation of the micro service e-commerce system,the main function modules of the test system are tested.Finally,this paper summarizes and prospects the ecommerce system. |