Mock tests, Interview questions, Tutorials and Tech news
 
 
Home > Technology > Twitter has been written in which programming language ?

Twitter has been written in which programming language ?

If somebody would have asked me few days back this question , I would not have known the answer. But I always wanted to find about the technology and tricks used at high performance sites like  twitter , facebook and ebay.

During discussions with one of the colleagues, I came to know that core(the back end services) of  twitter has been written in Scala. And that set me going . Twitter had really high load going to 5000 tweets per minutes at times.

Update : Thanks to the comments posted by users, especially Dave who have informed that the front end has been written in Ruby on Rails.

I really wanted to find out more about Scala and learn about it.

What is Scala ?

Scala is a general purpose programming language designed to express common programming patterns in a concise, elegant, and type-safe way. It smoothly integrates features of object-oriented and functional languages, enabling Java and other programmers to be more productive. Code sizes are typically reduced by a factor of two to three when compared to an equivalent Java application.

Many top-notch programmers and industry leaders have already been captivated by Scala. James Strachan even says that scala is the long term replacement of java and javac.

Find more about scala here

I will be covering more about Scala in next post and how is it more efficient over Java.

Share and Enjoy:
  • Digg
  • Sphinn
  • del.icio.us
  • Mixx
  • Google Bookmarks
  • IndianPad
  • Reddit
Categories: Technology Tags: , ,
  1. January 21st, 2011 at 09:59 | #1

    @Dilip
    Yes Dilip, the front end has been written using ruby on rails. The backend services have been written using scala.

  2. January 21st, 2011 at 09:57 | #2

    Thanks Dave. I have updated the post.

  3. January 21st, 2011 at 05:55 | #3

    Vinay please update this article as its not entirely accurate. As one commenter has pointed out. Only _some_ of the backend services have rewritten in Scala. Also the majority of the frontend is RoR.

  4. September 30th, 2010 at 06:59 | #4

    “Have you ever considered adding far more videos on your weblog posts to hold the readers more entertained? I mean I just study by way of the total write-up of yours and it was quite beneficial but since I’m additional of a visual learner,I observed that to be a lot more useful. Just my my thought, Great good fortune “

  5. May 17th, 2010 at 11:16 | #5

    Thanks. I am glad you liked it.

  6. May 17th, 2010 at 11:04 | #6

    Really your article is very good. i have first time listen this language scala really good

  7. Dilip
    April 23rd, 2010 at 09:54 | #7

    well..this scala fact is a news for me..cause I had an impression that twitter was coded in Ruby on Rails. hmmm..interesting..

  8. Mark
    April 18th, 2010 at 21:07 | #8

    Twitter did not dump Ruby on Rails. Back in 2008 there were a lot of people jumping to conclusions because of their message queue re-architecture. The truth is they have been using both Ruby on Rails and Scala for quite some time. Take it from the source: http://twitter.com/ev/statuses/801530348

  9. July 22nd, 2009 at 16:14 | #9

    Interesting find out dude. Thanks for sharing this.

  10. July 18th, 2009 at 07:48 | #10

    Thanks for sharing Sri. I am exploring Scala and would like to know how it is more efficient than java . Would keep you posted

  11. July 18th, 2009 at 01:42 | #11

    Scala is a hybrid Object-Oriented/Functional Programming language on the JVM. When I heard that Twitter was using Scala, I was curious and started collecting all the sites and articles to learn scala programming. If you are interested check the link below for the big list I have gathered (more than 200 sites) for learning scala programming.
    http://markthispage.blogspot.com/2009/06/more-than-100-sites-to-study-scala.html

  1. April 16th, 2010 at 23:42 | #1
Get Adobe Flash playerPlugin by wpburn.com wordpress themes