There are generally two types of stress testing: single-service stress testing and full-link stress testing

There are generally two types of stress testing : single-service stress testing and full-link stress testing

There are two common ways of applying pressure:

Concurrent mode (simulating user mode from the user's perspective)

Concurrency refers to the number of concurrent users. From a business perspective, the number of concurrent online users is simulated to achieve the expected amount of concurrency. To calculate throughput, a conversion is required. But in some scenarios, it is more in line with the expectations of the scene

RPS mode (simulates throughput mode in terms of requested throughput)

RPS (Requests Per Second) refers to the number of requests per second. RPS mode is "throughput mode". By setting the number of requests sent per second, from the perspective of the server, the throughput capacity of the system can be directly measured, eliminating the cumbersome conversion from concurrent to RPS, and it can be done in one step.

Concurrent mode and RPS mode have no advantages or disadvantages, and each has its own applicable scenarios.

Guess you like

Origin blog.csdn.net/spasvo_dr/article/details/129448593