Tag

accept_mutex

0 views collected around this technical thread.

Selected Java Interview Questions
Selected Java Interview Questions
Sep 1, 2024 · Backend Development

Understanding the Thundering Herd Problem and Its Solutions in Nginx

This article explains the thundering herd phenomenon in multi‑process servers, describes Nginx's master‑worker architecture and its use of epoll, and evaluates three mitigation techniques—accept_mutex, EPOLLEXCLUSIVE, and SO_REUSEPORT—along with relevant source code examples.

NginxSO_REUSEPORTaccept_mutex
0 likes · 9 min read
Understanding the Thundering Herd Problem and Its Solutions in Nginx