Inside NGINX: How We Designed for Performance & Scale
The folks behind the NGINX web server have put up ahighly self-congratulatory article on how the system was designed."NGINX scales very well to support hundreds of thousands ofconnections per worker process. Each new connection creates another filedescriptor and consumes a small amount of additional memory in the workerprocess. There is very little additional overhead per connection. NGINXprocesses can remain pinned to CPUs. Context switches are relativelyinfrequent and occur when there is no work to be done."