On Thu, Feb 5, 2015 at 6:28 PM, James Bardin <
j.ba...@gmail.com> wrote:
>
> As Brad mentioned in the other thread, the only facility available for a
> zero copy transfers are syscalls like splice on Linux. There's nothing you
> can do in Go directly.
It seems to me that we could modify net/sendfile_linux.go to use
splice when writing to a socket. It would be awkward because as far
as I can tell it would have to create a pipe, then splice one socket
to the pipe, then splice the pipe to the other socket. I don't know
that it would be a win overall.
Ian