<link rel="stylesheet" href="styles.f3b1fba60ec7970c.css">

High availability and high concurrency distributed system architecture and its use case

Betöltés ...
Bélyegkép

Dátum

Folyóirat címe

Folyóirat ISSN

Kötet címe (évfolyam száma)

Kiadó

DOI

Absztrakt

With the widespread popularity of online shopping, consumers are paying more and more attention to the shopping experience of the platform when shopping online, and the shopping platform is facing an increasing number of concurrent visits, which undoubtedly puts higher demands on the online shopping system. In this paper, we use Spring Cloud and Spring Cloud Alibaba microservice framework to build a shopping mall system, the basic process is as follows: first, for different scenarios of online shopping requirements analysis, using diagrams for system modeling, the system core design into six microservices: product microservice, search microservice, user microservice, shopping cart microservice, order microservice, and payment microservices. Second, the overall architecture design and microservice function design were carried out. The overall architecture introduced Nginx reverse proxy and SpringCloud Gateway to achieve load balancing and forwarding, and the microservice function design used the diagram to sort out the key business logic and determine the technology stack to be used. Then, according to the requirements analysis and system design requirements, we implemented the business functions of the system based on Redis, Elasticsearch, and distributed locks, and showed the implementation details through screenshots. Finally, using JMeter to simulate high concurrent access for testing, the results show that the microservices-based shopping mall system has more advantages in high concurrency and distributed development, with greater flexibility and scalability, while ensuring system functionality.

Leírás

Forrás

Gyűjtemények

Jóváhagyás

Áttekintés

Kiegészítve

Hivatkozik rá

Jogok és engedélyezések

Hozzáférhető a 2022 decemberi felsőoktatási törvénymódosítás értelmében.