Tag

SO_REUSEPORT

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
Refining Core Development Skills
Refining Core Development Skills
Feb 14, 2022 · Backend Development

Understanding Linux SO_REUSEPORT: Enabling Multiple Processes to Share the Same Port

This article explains the Linux SO_REUSEPORT feature introduced in kernel 3.9, how it allows multiple processes to bind and listen on the same port, the kernel's load‑balancing mechanism, and provides practical C examples and verification steps for developers.

BackendLinuxLoad Balancing
0 likes · 15 min read
Understanding Linux SO_REUSEPORT: Enabling Multiple Processes to Share the Same Port