Grails again on the Radar: Now Seam
Answering a question from the comments some posts back.
“Hi again,
You might have read this …
http://www.michaelyuan.com/blog/2007/03/28/are-rails-and-grails-scalable/
[...]”
Well, a vendor says his product is best? Why should he say something else?
“While Grails beats Rails in the benchmark, it looks to me neither of them is scalable in a multi-core environment. From our internal tests, JBoss Seam easily out-performs both by a wiiiiide margin (5 to 10 times higher throughput than the published Rails/Grails numbers).”
As Graeme said before, the benchmarks are not about scalabilty but performance. So the comment by Michael is completely off target. Either he doesn’t know better or he’s a troll.
“If you do a JVM thread dump here (or something equivalent in Ruby), you will see most threads are waiting and the CPU load slowly creeps up to 100% as the backlog increases.”
Did he do it? No. He just tells us that if we would do it, we will see his predicted result. Can he look into the future?
“So, let’s look at Graeme’s response time graph. The max response times are indeed extremely long — consistent with hang threads.”
Or because Groovy/Grails does some code and GSP compilations? Or something completely different happens? Or GC? Who knows without looking?
So all FUD no content in that article. His ideas might sound good and perhaps might help increase performance in Grails, but he needs to prove his points with data. Otherwise – FUD. Do they already feel the heat?
The suprising part though is the comment by Gavin, very polite.
You can leave a Reply here. Of course, you should follow me on twitter here.
Ahem. Graeme is also a vendor, and his benchmark of a competing product, which also showed his “product is best”, could be taken in the same light – but you didn’t call his work “FUD”, did you?
I’m not by any means an expect on scalability testing, but Michael’s reasoning (the main part of which you conveniently ignored in this post) looks very sound to me, and hopefully points the Grails guys in the right direction in terms of performance optimization.
Now, I always maintain a position of extreme skepticism with respect to benchmarks of toy applications run on people’s laptops, and of benchmarks in general, so I really doubt the significance of any of these results unless they are reproduced in a non-toy environment against a “real” production database.
But if Graeme wants to publish benchmark results, it’s only fair for other people to come along and point out the warts.
BTW, we all love Groovy and Grails here: it is one of the efforts that is bringing Java forward, rather than holding Java back – and so we have zero interest in FUD-ing Grails. Please don’t be so thin-skinned. Take it as constructive criticism.