Font Size: a A A

The Design And Implementation Of A Fresh Shopping Mall System With High Availability

Posted on:2021-02-17Degree:MasterType:Thesis
Country:ChinaCandidate:Z A YinFull Text:PDF
GTID:2518306104495924Subject:Software engineering
Abstract/Summary:
Fresh food business as an important part of retail e-commerce,has a very good development prospect and profit margin and has developed rapidly in recent years.With the explosive development of new information technologies and the upgrading of user consumption structure,a new retail mode combining online service and offline experience has gradually taken shape.In order to realize the online and offline linkage business model of online shopping malls,fresh retail and community supermarkets,high availability of fresh e-commerce systems is in need.The system requirements of the high-availability fresh mall are analyzed,and the system is divided into four parts: commodity module,user module,mall management module and background management module.The server uses a microservice architecture and the API gateway is abstracted at the top layer.Then Six service-oriented projects are aggregated downstream,namely store merchandise center,order center,user-originated content center,user center,marketing center,and back-office management center.The above microservices can be individually designed and implemented,which improves development efficiency;services can be dynamically expanded on demand to ensure that services can support certain high-concurrency scenarios.The implementation of the system microservices uses the Spring Cloud framework,the development language is Java,and the persistence uses the My SQL database and the Fast-DFS distributed file storage system.The client front-end uses We Chat applets,and the administrator background is developed based on Web pages.The technical and business design guarantees the high availability of the fresh mall system.Technically,microservices can be deployed and expanded quickly and independently,avoiding single points of failure,and improving system availability;by increasing traffic restrictions in the background access layer to prevent malicious traffic or sharply increasing traffic,and increasing the degradation switch of downstream services and the introduction of fusing middleware in the system framework to avoid service avalanche and ensure the stability of background services;by providing online service real-time monitoring and exception log query to ensure that service failures can be quickly detected,located and resolved.As for business,by realizingthe configuration of variables and rules that change frequently,the frequency of service updates is reduced and the instability caused by service deployment is reduced.At present,the design and development of the high-availability fresh food mall have been completed according to requirements,and functional tests and performance tests have been performed,which proves that the fresh shopping mall system meets the design requirements.After the system is launched,the iterative development cost is low and it supports fast on-line so it can respond to user needs in a timely manner.
Keywords/Search Tags:Fresh Mall, High Availability, Microservice
Related items