tags:

views:

1206

answers:

7

I am trying to build an application that has many points in common with Twitter. So, I was wondering whether there is a language more suitable to create a site like that.

I don't want to discuss about what is the best programming language.. I only ask you what language Twitter uses (if anyone know..)

Thanks

A: 

Ruby on Rails as far as I know.

Deniz Dogan
+8  A: 

Ruby on Rails for the frontend and scala for some of the backend: http://www.artima.com/scalazine/articles/twitter_on_scala.html

CTT
+5  A: 

They originally used Ruby on Rails, but it's been considered to be the cause of a lot of their downtime and problems, so it's probably not the best approach. Last I heard they were transitioning a lot of their code to Scala.

Twitter: blaming Ruby for their mistakes?

Twitter Said To Be Abandoning Ruby on Rails

Chad Birch
According to Wikipedia, they eventually chose to stick to RoR though.
Deniz Dogan
Twitter's problems are a lot more complicated than Ruby on Rails being too slow -- their database design was the root of a lot of their scalability issues.
Adam Lassek
I wasn't trying to imply that Ruby actually WAS the cause of their problems (the first link has a very nice summary of it, it's mostly how they implemented their message queue), just that it's the prevailing opinion. It also seems to be what Twitter themselves generally blame the problems on, so there's that.
Chad Birch
+1  A: 

Twitter is built with Ruby on Rails

Greg
+4  A: 

They may still use Ruby On Rails on the front end, and for some internal systems, but these days, there's a lot more involved. A significant part of the system is a queue - written in a language called Scala, based on the same technology as Java.

The developer of the new Scala based queue wrote about it's development on his journal.

The big mistake Twitter made with their original code, wasn't any language choice, but an architecture choice. Initially it shared more in common with a CMS, or blog. You enter a piece of text, and it's fetched back on demand. The work they have done to put a queueing system behind it has done far more towards its stability and scalability than anything they did to the front-end code. You can search for more on 'twitter scaling' to read more of what they have done in this style, and what others have thought about it as well.

Alister Bulman
A: 

Twitter is built on RoR

p01nd3xt3r
+1  A: 

http://highscalability.com/tags/twitter

vartec

related questions