How about to add splice
Valentin V. Bartenev
vbart at nginx.com
Wed Dec 9 11:54:00 UTC 2015
On Tuesday 08 December 2015 20:50:47 Aleksandar Lazic wrote:
> Dear developer.
> Do you know the splice() feature in Linux?
> How about to add it ;-)
Of course we know about splice(). You can find some mentions of it
in the mailing list archive since 2006.
The problem with this syscall is that it's not easy to implement,
while the performance benefits are questionable (AFAIK not all network
cards work well with splice()) and use cases are limited.
It only can be useful for proxying big amounts of data without any
processing. But if you need compression, or TLS, or SSI, or even some
simple substitution, then splice() cannot be used.
wbr, Valentin V. Bartenev
More information about the nginx