Hm. The description was based upon the implementation of nginx server.
The article you linked is factually incorrect (looks to me like a work of some intern from zimbra). Nginx workers don't fight for the accept_mutex
after they got events from the listening socket, but they lock this mutex before they subscribe to events from it (see implementation
). The reason is to not waste CPU, not to avoid accepting the same connection in different workers, which won't happen even if you disable this option. Anyways, nginx running event loop and OP is seems more interested in traditional prefork options (otherwise he should look at AnyEvent
instead of Net::Server
) which simply block in accept, so it is hardly relevant.
PS is it this guy? That's funny