Font Size: a A A

Research On System Restructuring Of Jingtao Mall Based On Microservice Technology Architecture

Posted on:2022-01-30Degree:MasterType:Thesis
Country:ChinaCandidate:X H DengFull Text:PDF
GTID:2518306524451524Subject:Industrial Engineering
Abstract/Summary:PDF Full Text Request
With the rapid development of the e-commerce industry,people's shopping habits have undergone great changes,gradually shifting from "offline" to "online",improving shopping efficiency.With the increase in user visits,the traffic of mall server nodes has increased,which is likely to cause the "avalanche effect" of server nodes,which seriously affects the actual operation of the mall.Therefore,it is urgent to explore new technologies to improve the performance of the mall and satisfy the user's shopping experience.This article selects Jingtao Mall as the research object,which is an open source front-end and back-end separation project with a complete front-end display page and database design.Through research on Jingtao Mall,it is found that the architecture of the mall adopts the traditional vertical application architecture design,with high coupling between functional modules,complex interface calls,and poor concurrency and availability.In order to improve the performance of the mall system,this article restructured the architecture of Jingtao mall.First of all,in terms of mall architecture design.In order to reduce the degree of coupling between the functional modules of the mall,this article uses the microservice Dubbo to integrate Spring Boot,Spring MVC,and Mybatis frameworks.At the same time,in order to solve the problem of excessive interface design in the mall,which causes disorder in interface management,the highly available Zookeeper coordination service is also used to provide interface management and monitoring.Second,in terms of high availability deployment of server nodes.This article deploys the mall backend management system,My Cat database middleware,My SQL database,etc.in the VM virtual machine Linux system,and uses Nginx load balancing technology to forward requests to different server nodes for business processing,and improve the mall's concurrency and availability.The My Cat database middleware is used to provide external database access interfaces to realize data read-write separation and dual-computer hot backup.In terms of data storage high-availability design,the My Cat database middleware is implemented using HAProxy+Keepalived technology,and the My SQL database is built in a two-master and two-slave manner.At the same time,in order to improve the efficiency of data query,this article uses Redis cache cluster to cache hot data.Again,in terms of function realization.This article implements the functions of adding new products and querying products in the mall back-end management system,user login,product details,shopping carts,and orders for the front-end functions.For the user login function,the security performance of login has been strengthened,and order timeout management has been added to the order function business.Finally,test the shopping mall data query performance and concurrency capabilities.The test results show that when the store is added to the cache,the data query performance improves by 63 ms.In terms of concurrency,the average response time and error rate of the mall have decreased significantly,and the throughput has increased significantly.
Keywords/Search Tags:E-commerce platform, Dubbo framework, Redis cache, Database high availability
PDF Full Text Request
Related items