GeeCON Prague 2014*
The moose likes Scala and the fly likes Slashdot claims twitter is moving to Scala Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Languages » Scala
Bookmark "Slashdot claims twitter is moving to Scala" Watch "Slashdot claims twitter is moving to Scala" New topic
Author

Slashdot claims twitter is moving to Scala

Pat Farrell
Rancher

Joined: Aug 11, 2007
Posts: 4659
    
    5

http://developers.slashdot.org/article.pl?sid=09/04/07/1928218

"Twitter, one of the highest profile Ruby on Rails-backed websites on the Internet, has in the past year started replacing some of their Ruby infrastructure with an emerging language called Scala, developed by Martin Odersky at Switzerland's École Polytechnique Fédérale de Lausanne. Although they still prefer Ruby on Rails for user-facing web applications, Twitter's developers have started replacing Ruby daemon servers with Scala alternatives, and plan eventually to serve API requests, which comprise the majority of their traffic, with Scala instead of Ruby. "
Marc Peabody
pie sneak
Sheriff

Joined: Feb 05, 2003
Posts: 4727

Twitter should move away from Ruby - http://pragdave.blogs.pragprog.com/pragdave/2009/04/twitter-should-move-away-from-ruby.html

A good workman is known by his tools.
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8914
    
    8

Not a slam against Scala, but does anyone else find it funny that Twitter had scaling problems with Ruby, so they think about moving to Scala, the scalability of which may or may not be well-explored at this point in time?


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
Garrett Rowe
Ranch Hand

Joined: Jan 17, 2006
Posts: 1296
Well, a lot of Ruby developers surely agree with you. The problem seems not so much that they made the decision to move their backend away from Ruby (AFAIK their front end will still be a Rails app) but the reasons they publicly gave for doing so rubbed the Ruby community the wrong way. Scala is a JVM language so I guess the thinking is that the JVM has proven scalability, and if thinks get too tight, they can get closer to the metal with plain 'ol Java.


Some problems are so complex that you have to be highly intelligent and well informed just to be undecided about them. - Laurence J. Peter
Gabriel Claramunt
Ranch Hand

Joined: May 26, 2007
Posts: 375
Here's the interview with the tweeter guys: http://www.artima.com/scalazine/articles/twitter_on_scala.html

From what I got, they were using "unidiomatic" Ruby with lot's of kind_of? calls, basically trying to emulate a static type system. With Scala they have high level programming with a pretty advanced type system.
Also, they've evaluated the available messaging queues but none of them really suited their needs, so they ended porting their own from Ruby to Scala (it helped that one of the guys already did the port in his spare time)
Some very vocal members of the Ruby community were deeply offended by the whole issue.


Gabriel
Software Surgeon
 
GeeCON Prague 2014
 
subject: Slashdot claims twitter is moving to Scala