Font Size: a A A

Design And Implementation Of High Parallel Power E-commerce System Based On Microservice Architecture

Posted on:2023-07-05Degree:MasterType:Thesis
Country:ChinaCandidate:S SongFull Text:PDF
GTID:2568307058466964Subject:Control engineering
Abstract/Summary:PDF Full Text Request
With the increasing improvement of people’s consumption and living standards and the continuous development of third-party payment platforms,China’s e-commerce environment has gradually matured,and online shopping has been integrated into people’s daily life.Taobao,pinduoduo,Jingdong and other e-commerce platforms have also penetrated into all aspects of people’s life.For the single architecture adopted by the traditional e-commerce system,there are few users in the initial stage of the project,and the business requirements of the system are not very complex.In order to facilitate development and testing,all codes can be written into one application.However,with the growth of users and the complexity of business logic,the amount of code is increasing,and the internal logic of single application will become very complex.Finally,the mode of single architecture will become the bottleneck of system concurrency performance.Even if the cluster deployment mode of single architecture application is adopted,there will be problems such as waste of resources,database bottleneck,poor code maintenance and poor delivery.This paper mainly discusses how to improve the ability of processing high concurrent requests based on micro service architecture system in the e-commerce scenario.In order to solve the above problems,this paper reconstructs the traditional single project from the aspect of system architecture,and divides the whole system into nine micro services according to the idea of micro service architecture.Develop and deploy each service separately to reduce the coupling between modules,and design multiple databases according to the business to solve the database bottleneck problem.The number of service instances can be flexibly adjusted according to the access pressure of each service,so as to make efficient use of limited server resources.Through the splitting of services,the logical clarity of modules and high-quality code development can be realized.At the same time,it can also accelerate the speed of continuous delivery,improve the scalability and maintainability of the system and reduce the difficulty of replacing technology.In this paper,the functional modules of each micro service are introduced in detail through pictures and words.Considering the high concurrency of the system,this paper uses the innovative application of multi-threaded asynchronous request combined with message queue to explain how to improve the concurrency performance of the system.According to the demand analysis,this paper uses the function structure diagram to elaborate the overall function of the mall,displays the overall layout of the micro service architecture through the system architecture diagram,and launches the relationship between various entities in the system through the E-R diagram,so as to lay the foundation for the construction of the database,and completes the outline design of the system in combination with the above technologies.According to the overall design and demand analysis of the system,this paper selects springboot and springcloud framework as the basic development framework of the project to realize the e-commerce system of microservice architecture.After the development task is completed,it is also necessary to test the system from multiple angles,and analyze and evaluate the test results.In addition,the system needs to be tested according to the non functional requirements,so as to ensure the high performance,reliability and stability of the system.After early development and complete testing,the e-commerce system based on micro service architecture can operate reliably in different environments,and each micro service module can also cooperate normally to complete a single task and collaborative task.It can meet the needs of users in the scenario of high concurrency.
Keywords/Search Tags:E-commerce, Microservice architecture, Distributed lock, SpringBoot, SpringCloud, Redis
PDF Full Text Request
Related items