Live data from Hacker News

Twitter survives election after Ruby-to-JVM move

theregister.co.uk

1–10 of 179 posts

Re: Twitter survives election after Ruby-to-JVM move

#4
> None of this will be welcome news to the army of fanatical Ruby developers who believe the language's syntax, its high developer productivity, and its overall philosophy far outweigh any performance disadvantage it might have compared to other languages.

I'm a relative newbie to the Ruby world, but as best I can tell, the Ruby and Rails communities both accepted long ago that they weren't made for Twitter levels of traffic.

Fact is, almost no one has Twitter levels of traffic besides Twitter. That's why Ruby and Rails are still so popular, because for ~99% of performance needs, they're more than capable and also extremely pleasant to work with.

Re: Twitter survives election after Ruby-to-JVM move

#5
Would have been nice if the title was "Twitter survives election after Ruby-to-Scala move", since that's what actually happened.

(They do use a bit of regular Java, but the majority of the core code is Scala, and it's Scala that should be getting the top line credit here, not Java.)

Re: Twitter survives election after Ruby-to-JVM move

#7
This move marks the beginning of the end of a four year long effort for Twitter to rid themselves of Ruby.

History will remember the entire Ruby industry as a series of compounding failures.

The de facto formalisation and specifications.

The black-box behaviour of core development.

The broken-linked, un-versioned docs.

The rampant cargo-cult mentality.

The arcane exceptions.

The meta-frameworks.

Gem hell.

1.9/2.0

Rails.

Re: Twitter survives election after Ruby-to-JVM move

#8
It's interesting that when it comes time to scale to serve enormous loads, you have to be willing to change fundamental parts of your stack which you've made a huge investment in. Ruby holds up well enough on the majority of the sites that use it, but when you have traffic the size that Twitter does, it's just not good enough. And it turns out that Java provides a nice tradeoff with high performance and high-level code.

It's also interesting to see different companies approach this problem differently - Facebook famously recreated a way to run their PHP source code (by compiling it to C and then running it natively) instead of actually rewriting the source to a different language. I wonder if something similar would have been possible for Twitter, or if they weren't happy with how their existing code was structured in the first place which may have made the rewrite more attractive.

Post reply on HN