Study and Optimization of Server Load Capacity in High Concurrency Scenarios
, , , oraz
13 cze 2025
O artykule
Data publikacji: 13 cze 2025
Zakres stron: 62 - 81
DOI: https://doi.org/10.2478/ijanmc-2025-0006
Słowa kluczowe
© 2025 Hui Wang et al., published by Sciendo
This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
Figure 1.

Figure 2.

Figure 3.

Figure 4.

Figure 5.

Figure 6.

Figure 7.

Figure 8.

Figure 9.

Figure 10.

Figure 11.

Figure 12.

Figure 13.

Figure 14.

Figure 15.

Figure 16.

Figure 17.

Figure 18.

Figure 19.

Figure 20.

Figure 21.

Figure 22.

Figure 23.

Figure 24.

Figure 25.

Table type styles
Variable | Test range |
---|---|
Number of Sub-Reactors | 1-50 |
Number of threads | 1-50 |
Explanation of Webbench Usage Options
Webbench Usage Parameters | Parameter explanation |
---|---|
./webbench | Starts the Webbench testing tool. |
-c | Specify the number of concurrent clients |
-t | Specify the duration of HTTP requests |
accesses the specified web server |
Scope of Testing for Single Reactor Multithreading Web Server
Variable | Test Range |
---|---|
Number of threads | 1-30 |
Transaction processing time (us) | 0-1000 |
Scope of Testing for Single Reactor Multi
Model | Advantages | Disadvantages |
---|---|---|
Single-Reactor Single Threading | Simple to implement, easy to program and debug; suitable for low concurrency and lightweight business processing scenarios | Poor performance in high concurrency and long time business processing, easy to single thread blocking caused by other requests are delayed processing |
Single-Reactor Multi-Threading | The introduction of a thread pooling mechanism serves to enhance the concurrent processing capacity, circumventing the issue of single-thread blocking. This approach is particularly effective in scenarios involving medium concurrency and medium business processing times, offering optimal performance. | The use of multiple threads in a single program can lead to data contention and synchronization problems, necessitating the implementation of locking mechanisms. This, in turn, can result in increased programming complexity and resource overhead. Furthermore, the overhead associated with thread switching may contribute to performance bottlenecks in highly concurrent environments. |
Multi-Reactor Multi-Threading | The concurrent processing capability is significantly enhanced by dividing the work among multiple reactors. Each reactor operates independently, reducing competition for resources and improving overall performance. It demonstrates robust performance in high concurrency and longterm business processing. | The complexity of the programming and maintenance processes, coupled with the necessity of dealing with multiple reactor and thread synchronization, gives rise to a considerable challenge in terms of resource management. In order to circumvent performance bottlenecks, it is essential to configure the reactor and thread pool in a reasonable manner. |
Multi-Reactor Multi-threading Test Scope under 200us
Variable | Test range |
---|---|
Operational processing time (us) | 0-1000 |