Re:Vert.x (JVM async) vs Node.js Http benchmarks results
by nfriedly on Wednesday May 09, 2012 @07:33PM
(#3951062)
I had the impression that "Node.js (readfile)", and possibly "Node.js" meant the blocking call but that "Node.js (streams)" meant he was using something like fs.createReadStream(). But you're right, I don't see that anywhere in the posted source.
Re:Vert.x (JVM async) vs Node.js Http benchmarks results
by purplefox on Thursday May 10, 2012 @05:04AM
(#3952479)
I've tested several combinations of blocking, non blocking, readFile, streams (pipe) and using chunked transfer encoding.
Results vary a little but all way below the Vert.x results.
See blog post for the stats.
If you're worried about your programs containing rogue & misbehaving code like this, I recommend you use https://github.com/isaacs/nosync