Abstract:In today’s digital age, Nginx has become the most widely used Web application server on Linux systems, holding the top position in market share. Nginx plays a critical role in ensuring user service quality, making its performance optimization crucial. Although Nginx servers are widely deployed on both X86 and ARM architectures, there is a lack of comparative analysis on performance tuning for these architectures. This study aims to fill this gap by comparing automatic system parameter tuning on Nginx across the two architectures. It identifies the performance differences between X86 and ARM in different scenarios (dynamic and static request processing). When handling dynamic requests, Nginx on the X86 architecture achieves a 99th percentile latency 515 ms lower than that on the ARM architecture, reflecting a performance improvement of 287%. Conversely, in static request processing, the ARM architecture performs better, with a 99th percentile latency 220 ms lower than that of X86, marking a 60% performance increase. These findings highlight the distinct advantages of X86 and ARM architectures in handling different loads and the significant impact of hardware architecture on Nginx performance optimization strategies. Therefore, system administrators must consider performance differences between static and dynamic requests and the unique characteristics of each architecture to achieve optimal performance.