Hacker News new | ask | show | jobs
by nfriedly 5158 days ago
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.
1 comments

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.

Fair enough. After I wrote that I remembered that readFile wasn't blocking anyways, but it was too late to edit at that point.