Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

High Performance Ruby on Rails and MySQL

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
3,907
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Jul 30, 2009

High Performance Ruby on Rails and MySQL
David Berube (Berube Consulting)

From the official conference description is at http://www.mysqlconf.com/mysql2009/public/schedule/detail/6942



MySQL is among the fastest relational databases commonly available today; unfortunately, the database alone is only part of the picture. For todays web applications, the one weak link in the entire performance chain from the network to the web application and ending in the database can cause an entire application to seem slow.

Unfortunately, Ruby on Rails on exacerbates this problem: Rails makes it easy to develop complicated web applications fast, but it also makes it easy to access your databases in an extremely inefficient manner. Thousands of queries may be generated when just a few are necessary. Even if you can get past that problem, ActiveRecord itself can be a problem: it may create thousands or even millions of objects, and in many situations such as bulk loading or updating data this can cause a serious performance problem. Replacing ActiveRecord in key situations can result in the length of batch process going from days to minutes.

This talk will demonstrate the following for your attendees: * What kind of performance problems am I likely to run into with Rails? * How can I tell if Rails is responsible for my performance problems? * What specific techniques can I use to reduce the number of queries and the size of ActiveRecord objects returned? * What are some real world examples of ActiveRecord speedup using these techniques?

Category:

Science & Technology

Tags:

License:

Standard YouTube License

  • likes, 0 dislikes

Link to this comment:

Share to:
see all

All Comments (0)

Sign In or Sign Up now to post a comment!
Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more