On Tuesday 08 December 2015 20:50:47 Aleksandar Lazic wrote:
> Dear developer.
> 
> Do you know the splice() feature in Linux?
> 
> https://lwn.net/Articles/178199/
> http://man7.org/linux/man-pages/man2/splice.2.html
> http://ogris.de/howtos/splice.html
> 
> 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

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to