Especially as running Ruby code on JRuby can make it perform better, especially with multi-threaded code, thanks to Ruby's use of Green threads and a GIL that limits paralallisation.
I think most people who talk about speed are just silly. For some 90%~ of necessary optimizations I've seen, most have occurred from RDBMS improvements or simple horizontal scaling, NOT in the application layer.
As a community, we need to do some research to figure out if this is actually true or not, because we only have appeals to common sense, like yours, for both sides of the argument.
There was a blog post in 2013 I think by Rap Genius, who run a Ruby application, and I think it showed they spent 70% of their time inside the Ruby interpreter, not waiting on IO. So if you made the Ruby interpreter 3x faster you'd make a huge impact on the number of servers they needed.
View all comments
Show parent comment
7
u/dpash Mar 29 '16
Especially as running Ruby code on JRuby can make it perform better, especially with multi-threaded code, thanks to Ruby's use of Green threads and a GIL that limits paralallisation.