Font Size: a A A

Design And Implementation Of Server Side Of B2B2C Platform Sales System Based On Microservices

Posted on:2021-11-27Degree:MasterType:Thesis
Country:ChinaCandidate:J Y WangFull Text:PDF
GTID:2518306308470134Subject:Computer Science and Technology
Abstract/Summary:PDF Full Text Request
The advent of the information age has promoted the development of e-commerce,B2B2C mode combines the features of B2B and B2C,and can provide better services.However,the traditional B2B2C platform lacks support for offline physical stores,and lacks a marketing model for promotion.In response to the above two issues,this thesis proposes a new B2B2C sales model and designs a B2B2C platform sales system.The system manages online and offline sales channels in a unified manner,and implements multi-level agency&recommended distribution social e-commerce functions based on WeChat.The traditional monolithic application architecture has the disadvantages of serious module coupling and insufficient scalability.This thesis uses the microservices architecture and the Spring Cloud framework to implement the server side of the sales system,and achieves the decoupling of system functions,which makes the system has better performance than monolithic applications.Microservices have disadvantages in terms of system complexity and continuous integration of services.This thesis uses Docker container technology and Kubernetes container cluster management platform to provide solid guarantee for the efficient deployment and operation of microservices.In a microservice system,user sessions are no longer suitable for saving using Sessions,and it is impossible to use Filter or Interceptor to intercept all requests.This thesis designs and implements a centralized access module based on the API gateway Zuul,which implements the function of login authentication based on Token.A fine-grained role authority management model FGRBAC(Fine-Grained Role-Based Access Control)is proposed to implement the authority management function.The Module make the system have better security and faster access speed.The Kubernetes platform provides HPA for horizontal expansion and reduction of Pods,but HPA v1 only uses CPU usage as a metric by default.This thesis designed a horizontal elastic scaling module with multiple metrics.It expands and shrinks the system according to the CPU,memory,and network usage,which has more accurate decision-making effects,and provides the system with better scalability.The server side of B2B2C platform sales system is divided into five microservice modules:user management,store management,product management,order management and payment&share.In this thesis,the requirements analysis and outline design of each module are carried out,and the implementation process is introduced in detail from the aspects of data model,business process,interface definition and class design.Finally,the system is tested and verified.The test results show the effectiveness and feasibility of the system.The research results obtained in this thesis have certain reference value for the realization of the service side of the B2B2C platform sales system based on microservices.
Keywords/Search Tags:B2B2C, sales system, microservices, access control, elastic scaling
PDF Full Text Request
Related items