|
|
|
|
|
by jandrese
4017 days ago
|
|
Other than needing to fork for every request, this should be really fast because it uses the efficient sendfile() mechanism in the kernel to handle returning the file and most importantly only implements a bare minimum of support for the protocol. nginx is almost certainly going to be slower because it has to worry about different types of requests, different protocols, IPv4 vs. V6 sockets, CGI, etc... It's easy to make something fast when you only implement a very small number of features. |
|