Why does one Nginx worker take all the load?
Author here. There are three highlights in this blog post:- epoll() seem to have LIFO behavior which can result in uneven load balancing across workers (in case of accept()ing from a shared socket)- using REUSEPORT can worsen latency in a high-load case.- blocking accept() on Linux is pretty buggy, you basically can't close() underlying socket