Efficient data transfer through zero copy in Java
ibm.com
ibm.com
(Note that I'm not questioning the technique, I just don't entirely agree on the way the article portrays the benefit of this method in webservers.)
I don't think nginx or web servers in general are the last word ever to be spoken in terms of networking software.
The use-cases are certainly specific, but when you need them, it's great.
You can effectively concatenate stuff by just writing both to the same channel - which means you can get the zero-copy performance benefits for the static parts of your data if you know exactly how much static data there is before you need to write out something dynamic.
I can see the use if one would recreate a server from the ground up. But that would be a rather large task.
http://tomcat.apache.org/tomcat-6.0-doc/aio.html#Asynchronou...
At the same time, I can imagine plenty of companies dont have the resources or expertise to do these kinds of things.In that case this looks pretty helpful.