Slow train coming: Twitter slides off the Rails

posted by John Lampard on Monday, 9 June, 2008 to the technology subset

Don’t blame Ruby on Rails for Twitter’s less than brilliant performance of late, blame it on the framework, and over eager developers in a rush to finish their work.

Ruby on Rails is a Model-View-Controller (MVC) framework. To build an application in Rails, you start by defining a collection of objects that model the things your application will do, then you write controllers that juggle your model in response to user requests, and finally you write the views that present your application to its users. As separate as these three elements are, the performance of an app can depend largely on how they work together. If your model isn’t optimized for the way your controllers will use it, you could find yourself facing some surprising performance issues. This is the kind of problem that I expect Twitter is faced with.

Tags: , , , , ,
permalink | tweet this post | RSS feed | contact | disassociated.com

end post icon

  • Comments are closed. Please send a message if you want though.