Font Size: a A A

Design And Implementation Of E-commerce Platform Under Distributed Architecture

Posted on:2020-11-23Degree:MasterType:Thesis
Country:ChinaCandidate:Z S YangFull Text:PDF
GTID:2428330575469931Subject:Software engineering
Abstract/Summary:PDF Full Text Request
In recent years,Internet entrepreneurship is flourishing due to people's ever-changing lifestyle with the development of Internet.Under the background of enterprises transformation and taking advantage of the high-flow,convenient and efficient Internet,new business models,such as mobile payment,sharing economy,online social interaction,e-commerce,online shopping and Internet Finance,are emerging.In particular,as a sub-application of e-commerce,online shopping contributes 22.7% for the total domestic retail sales in terms of economic scale,becoming a new lifestyle and an indispensable component in social and economic development.Therefore,the construction of e-commerce platform and the study of key technologies have great practical significance and application value.In this context,based on the mainstream development thought of separating the foreground from the background and the mainstream development framework,the project has realized a set of e-commerce platform websites for online shopping,which is different from the traditional e-commerce platform development.Adhere to the standardized development process,from technology selection,database design,requirements analysis,system design to function realization,the system focused on optimizing and upgrading the monolithic architecture used in traditional e-commerce website development from the technical architecture level while improved the business functions.Besides,the platform's performance when dealing with high concurrent access has been optimized by utilizing Nginx's loading balance and distributed cluster.The project adopts Redis distributed cache to solve the problem of session management when using traditional single-service application under distributed cluster and the latest Spring Schedule technology to realize the task of canceling timeout orders under distributed clusters.Because distributed task scheduling involves resource competition in the cluster state,combined with Redis cache,this project designed distributed lock schemes,solving the problem of lock resource competition in the cluster and avoiding the occurrence of deadlock in the system while effectively saving the system overhead and resources when performing several task scheduling at the same time.Meanwhile,thanks to the distributed cluster architecture scheme,the high availability,maintainability and scalability of the.system is enhanced.Based on mainstream development technology and the actual needs,this project designed and implemented a shopping mall platform after analyzing the importance of the shopping mall platform system in today's life.The project utilized distributed technology selection to improve the traditional development method and upgrade the architecture,enhancing the system's high availability and responsiveness.Then,the project adopted Redis,a mainstream NoSql database,building a distributed cache server to solve the problem of distributed session management in cluster state and designed a distributed lock scheme by combining redis cache to avoid the deadlock in the system and solve the problem of task scheduling when lock resource competition occurs.The logic of core business function realization and the design of the distributed system architecture in the system will provide references for small and medium-sized enterprises in constructing and developing e-commerce websites.Besides,the redis distributed cluster designed in the project has certain reference value for session management,the distributed lock resource competition management,the extension and upgrading of cache system and the realization of asynchronous message queue and the Docker container for the implementation of database is good for the reference.Based on the standardized development process,the project has realized improved business function and has been successfully put into operation online after the interface test and functional test.
Keywords/Search Tags:e-commerce platform, loading balance, distributed architecture, high concurrent access, distributed cache, distributed lock
PDF Full Text Request
Related items