Live data from Hacker News

Efficient data transfer through zero copy in Java

ibm.com

11–13 of 13 posts

Re: Efficient data transfer through zero copy in Java

#11
post #6

You might want to read this interesting (albeit slightly outdated) post about leveraging `sendfile` in Node.JS by Peter Griess: http://blog.std.in/2010/09/09/using-sendfile-with-nodejs/

Is this still best practice? What's the more "up to date" method?

splice and tee are the newer kernel interfaces, sendfile is now implemented using them.

Re: Efficient data transfer through zero copy in Java

#12

Earlier quoted context omitted.

Is this still best practice? What's the more "up to date" method?

splice and tee are the newer kernel interfaces, sendfile is now implemented using them.

Apparently these primitives haven't found their way to the Node.js land yet... and sendfile is still undocumented.

Re: Efficient data transfer through zero copy in Java

#13
post #12

Earlier quoted context omitted.

splice and tee are the newer kernel interfaces, sendfile is now implemented using them.

Apparently these primitives haven't found their way to the Node.js land yet... and sendfile is still undocumented.

Not really surprising given the cross platform focus in Node now.
Post reply on HN