Ruby on Rails Database Indexes
Contact me at LinkedIn  RailsZilla at Facebook  RailsZilla at twitter   google +1  Contact me at Xing  connect me at github

Ruby on Rails Database Indexes

Posted in Rails

Handy hint for better database performance in Ruby on Rails: Always add DB index in your Migration! By default, rails does not add indexes automatically for foreign key, you should add indexes by yourself. If you want to speed up your performance, I suggest to add an index for – foreign key – columns that […]

Tags: , , , , , ,

Ruby on Rails performance issues

Posted in coffee break, Rails, Ruby

I was thinking several times about this message and discussed it with some friends: http://engineering.twitter.com/2011/04/twitter-search-is-now-3x-faster_1656.html Twitter started to rewrite their search engine using Lucene instead of MySQL and replaced the Ruby-on-Rails front-end by a Java server, which is supposedly to be faster … ?!? As you can read in the article: “Over time, we had […]

Tags: , , , , , ,

Copyright © 2011-2017  - RailsZilla – Ruby on Rails tutorials, tips and tricks All rights reserved. | Imprint | Privacy