The nginx HTTP server has a directive named sendfile
, which can tell it to use the Linux sendfile()
system call to do I/O without copying to an intermediate memory buffer. That should increase the I/O rate and reduce memory use. If you are running on a modern Linux system with a modern version of nginx, does it have any disadvantages?
In the past the directive could be problematic, for example on VirtualBox VMs, hence my qualification of modern installations.