Wrong confirmation ID
  • Email
  • Favorite
  • Download
  • Embed
  • Private Content

Loading…

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

Beyond 'gem install MySQL’ in Ruby

by Ilya Grigorik on Apr 15, 2010

  • 14,108 views

There is much more to MySQL performance in Ruby than ‘gem install mysql’ and syntactic optimizations. Whether you are running Ruby MRI (C version), or JRuby (JVM), or any other Ruby VM, and are loo...

There is much more to MySQL performance in Ruby than ‘gem install mysql’ and syntactic optimizations. Whether you are running Ruby MRI (C version), or JRuby (JVM), or any other Ruby VM, and are looking to optimize your performance architecture (response times or throughput), the architecture and the MySQL driver you choose (yes, there is more than one!) have significant influence on the outcome. Different VM’s expose different behaviors: native threads vs. green threads, a global interpreter lock (GIL) vs. no lock, and result in dramatically different behaviors under load.

In this talk we will look under the hood of the most popular Ruby VM’s and evaluate a number of alternative drivers (mysql gem, mysqlplus, evented-mysql, and others), which can help you significantly improve the performance and throughput of your Ruby+MySQL application.

Accessibility

Tags

ruby mysql rails concurrency applications mysql ruby awesome 5 star igvita mysql ruby performance rails mysql

More...

Upload Details

Uploaded via SlideShare as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

Cancel

16 Embeds 4,829

http://www.igvita.com 4583
http://www.slideshare.net 156
http://teamco-anthill.blogspot.com 37
http://static.slidesharecdn.com 11
http://www.igvita.com.sharedcopy.com 11
http://localhost 8
http://bgror.com 7
http://feeds.igvita.com 3
http://coderwall.com 3
http://www.lmodules.com 2
http://translate.googleusercontent.com 2
http://teamco-anthill.blogspot.in 2
http://webcache.googleusercontent.com 1
https://twitter.com 1
http://teamco-anthill.blogspot.co.uk 1
http://teamco-anthill.blogspot.ca 1

More...

Statistics

Favorites
16
Downloads
86
Comments
2
Embed Views
4,829
Views on SlideShare
9,279
Total Views
14,108

12 of 2 previous next

  • pranny Pranav Prakash , Engineer at SlideShare Useful insights and available options 2 months ago Reply
    Are you sure you want to Yes No
  • igrigorik Ilya Grigorik at Google Blog post: http://www.igvita.com/2010/04/15/non-blocking-activerecord-rails/

    Original PPTX: http://github.com/igrigorik/presentations/tree/master/2010-MySQLConf/

    (Slideshare seems to break the whitespace in code examples (doh))
    2 years ago Reply
    Are you sure you want to Yes No
Post Comment
Edit your comment Cancel

Beyond ’gem install MySQL’ in Ruby — Presentation Transcript