Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is Twitter still running on Rails? [closed]

I know Twitter initially ran on the Ruby on Rails platform.

Is this true today?

like image 338
Dan Avatar asked Sep 24 '10 06:09

Dan


People also ask

Is Twitter still on Ruby on Rails?

Twitter Said To Be Abandoning Ruby on Rails.

Is twitter built on Ruby?

Twitter is arguably the most heavily used Ruby on Rails application in the world. Almost since its inception, Twitter has fostered a wildly passionate cult following.


2 Answers

Twitter has a very strange architecture. They started out on Rails but now it's a combination of Rails and Scala. They started replacing some of the backend functionality with Scala to get access to the JVM, but many of the pages are still served with Rails today.

Unfortunately Rails has gotten a bit of a reputation for not being scalable enough due to Twitter moving away from it. This is (in my opinion) a bad misconception - the problem Twitter was having was with long-running processes and with green threads (which don't use the OS threads). Also, how many applications have 300 million+ users?

like image 75
Jaco Pretorius Avatar answered Oct 03 '22 11:10

Jaco Pretorius


1 )twitter forms use

*CSRF (Cross Site Request Forgery): like rails

2 )twitter is a REST application : like rails

'They started out on Rails but now it's a combination of Rails and Scala' and a big chunk of javascript

It 's (thin MVC + big javascript ) concept ,like gmail

like image 34
germanlinux Avatar answered Oct 01 '22 11:10

germanlinux