Font Size: a A A

Design And Implementation Of E-commerce Platform Based On Microservice Architecture

Posted on:2022-01-09Degree:MasterType:Thesis
Country:ChinaCandidate:C WangFull Text:PDF
GTID:2518306605489564Subject:Master of Engineering
Abstract/Summary:PDF Full Text Request
In recent years,Internet users have shown a spurt of growth.Especially represented by online shopping,people are increasingly inclined to consume online.This way of shopping without leaving home has greatly facilitated people's daily life.At the same time,the development of e-commerce has become very important with the changes in people's shopping methods.In the face of increasing business demands and increasing complexity,how e-commerce platforms can provide better services has become a top priority for research.Traditional ecommerce platforms developed on the basis of a monolithic architecture have more obvious defects when faced with the above problems,such as high system coupling,inflexible development,and irregular design.Aiming at these problems of the monolithic architecture development model,this paper studies the design and implementation of an e-commerce platform based on the microservice architecture,considering the aspects of high performance,scalability,and fault tolerance.According to the different business logic,the entire business The system is split into a set of microservices and implemented using Spring Cloud related technologies.The main research contents of this paper are as follows:(1)In view of the shortcomings of the e-commerce platform developed by the traditional monolithic architecture,analyze the needs of the e-commerce platform,study the basic ideas of the microservice architecture,and analyze and study the related technologies,including Spring Boot and Spring Cloud,etc.,select appropriate microservice solutions for the system,and complete the design of the system from theoretical analysis and design practice;(2)After analyzing the business requirements of the system,the system is divided into seven independent businesses according to specific business functions,and the specific functions of each functional module are introduced in the form of use case diagrams,through system architecture diagrams and functional modules diagram and the key function flowchart diagram design the entire system,and independently develop each service,which greatly reduces the business coupling between the modules of the system,and makes the entire system easier to expand.Mean While,the entire system become more flexible;(3)Use the relevant components provided by the Spring Cloud framework to design and implement the basic framework of the microservice system,such as the service registry,service gateway,and communication between services.At the same time,in terms of system performance,a cluster approach is adopted for services,including Eureka cluster,Redis cluster,etc.,to achieve high system availability,and technologies such as Elastic Search and Fast DFS are used to relieve system pressure.Finally,the e-commerce platform based on the microservices architecture was tested,including main business function tests and performance tests.The test results verified that the system met the expected functional requirements,and at the same time had good high availability and reliability.The results obtained in this paper have certain reference value for developers who are engaged in related microservice work.
Keywords/Search Tags:Microservices, High availability, E-commerce platform, Spring Cloud
PDF Full Text Request
Related items