News for hackers. Stuff that matters.
Re:Nodejs vs Play for Front-End Apps by justinsb on Sunday March 27, 2011 @06:16PM (#2376247)
Without publishing the complete source for each test, these benchmarks are not very useful (the author does promise to publish sources for a new test in future). It appears that initially node.js was in 'development mode', so presumably the post initially showed Play beating node. With unreproducible benchmarks there are inevitably configuration errors made, or configuration tweaks that aren't applied.
Re:Nodejs vs Play for Front-End Apps by andos on Sunday March 27, 2011 @07:21PM (#2376399)
Yeah. And it's Java and all but I think there is something pretty odd if the mean time per request for Play is 1.5 seconds.
Re:Nodejs vs Play for Front-End Apps by vmind on Sunday March 27, 2011 @07:21PM (#2376398)
Some truly bad graphs there, displaying response time on same axis as responses per second? Leaving in a bracket probably to contain outliers and flattening the rest of the graph?
Re:Nodejs vs Play for Front-End Apps by s3u on Sunday March 27, 2011 @09:23PM (#2376692)
Point well taken - there was no such intention. I updated the charts to show req/sec and mean response time separately. See http://www.subbu.org/blog/2011/03/nodejs-vs-play-for-front-e...
Re:Nodejs vs Play for Front-End Apps by andos on Monday March 28, 2011 @08:57AM (#2378159)
How does the "Render - No IO" case work? Does it take a different code path? (E.g. render "No entries found" instead of iterating over each entry and rendering it?) Or, put differently, what are you measuring in the "Render - No IO" case?
Re:Nodejs vs Play for Front-End Apps by s3u on Tuesday March 29, 2011 @01:18PM (#2383460)
The source is now on github. See the links at the top of the blog post.
Re:Nodejs vs Play for Front-End Apps by no7hing on Sunday March 27, 2011 @07:06PM (#2376368)
> I’m unable to make the source code for the test apps available publicly at this time. and > I spent nearly equal amounts of time (under two hours) to build the same app on nodejs and Play.

One actually wonders: why?

Re:Nodejs vs Play for Front-End Apps by beck5 on Sunday March 27, 2011 @07:18PM (#2376392)
That also caught my eye, I thought this is either some prolific 2 hour work or there is some sort of bias he doesn't want us to know about?
Re:Nodejs vs Play for Front-End Apps by bjg on Sunday March 27, 2011 @07:50PM (#2376470)
It is kind of odd, but at the beginning of the article he states that he originally wrote and did the tests as part of his work at Ebay.
Re:Nodejs vs Play for Front-End Apps by s3u on Sunday March 27, 2011 @09:24PM (#2376698)
Yes, correct - I'm not able to disclose the code. But there is more to come and I will be sharing the code on github.
Re:Nodejs vs Play for Front-End Apps by s3u on Tuesday March 29, 2011 @01:17PM (#2383459)
The source is now on github. See the blog post for github links.
Re:Nodejs vs Play for Front-End Apps by ShardPhoenix on Sunday March 27, 2011 @10:25PM (#2376849)
Those sure are some misleading bar charts.
Re:Nodejs vs Play for Front-End Apps by s3u on Tuesday March 29, 2011 @01:17PM (#2383456)
What's misleading about them?

Please feel free to reproduce on your own. The source is on github. See the blog post for github links.