As much as the extra $2k of hosting is worth the productivity boost, wouldn't you love it if you could have the Rails productivity and save that $2k/year compared to current Rails performance?
See discussion here: http://news.ycombinator.com/item?id=1380732
And if they do, why not use the Ruby app of choice under JRuby? Pretty much all of the dozen+ Ruby Web frameworks can be bundled up as WAR files and dropped off for Glassfish (or tomcat or whatever) to handle.
Almost missed seeing the Snap and Play stats because the preformatted text was getting formated into a side-scrolling pane.
Not that I want to code in Java, but the speed is impressive.
Still, I have to wonder what the JRuby speed would be for some of the other Ruby frameworks that are faster than Rails, such as Ramaze and Sinatra. (I doubt they would beat those Play numbers, but they would still do better than Rails. A Duby version of Ramaze might rock.)
Also, development of Ruby + Glassfish almost always meant Rails + Glassfish. I prefer Ramaze, and had to hack a few things (in warbler, for example, and the glassfish3 gem) to get around some things that that assumed you were using Rails.
If you are using one of the anointed frameworks (i.e. Rails or Sinatra) you're probably OK. If you are coloring outside the lines you may have issues. But I've not looked into it much since I got my site running (though now I'm just running it as a rackup app through jruby)
At this point though I'm looking at using Haskell when speed is a concern. But that's a whole other thread ...
I get a metric truckload more than $2k of developer productivity out of using Rails instead of Java, though.
If my traffic increased such that I needed 40 Mongrels and 20 Delayed Job workers and I was spending $20k a year on hosting, I'd... I'd... I'd really, really like if that happened, actually.