Re:Thread Pools in Nginx Boost Performance 9x (2015)
by nemanjaboric on Monday August 14, 2017 @09:28AM
(#15008410)
No, sendfile is not necessarily non-blocking (note the difference between async and non-blocking IO), it still blocks the caller if the reading side is a disk device. The advantage of using sendfile is that you need to copy the data from the kernel-space (source) to the user-space (program) and then back to the kernel-space.
[ Parent
| on HN ]
There are no comments on this comment yet.