Article: A Look at Common Performance Problems in Rails
Rails performance expert Dr. Stefan Kaes takes a look at the most common performance issues in your Rails applications and what to do about them. Advice is given regarding benchmarking, choosing a session container, caching results of expensive computations, optimizing database queries and working effectively with view helpers.
Read: A Look at Common Performance Problems in Rails
Real World Experiences?
by
Obie Fernandez
Updated article
by
Obie Fernandez
good article
by
Michael Kovacs
Great Practicle Information
by
Ben Askins
memcache-client author
by
Eric Hodel
Getting Memcache-Client to work with Sessions
by
Adam Michaels
32 percent...
by
chris hulbert
With extensive testing, my production server now serves up pages 31.8% faster!
63.8 seconds versus 93.5 to complete a test suite i created.
Very happy :)
Chris - splinter.com.au
Re: Getting Memcache-Client to work with Sessions
by
chris hulbert
www.danga.com/memcached/
Memcached client:
rubyforge.org/projects/rctools
Hooking it up in rails:
wiki.rubyonrails.com/rails/pages/HowtoChangeSes...
Re: Getting Memcache-Client to work with Sessions
by
Geoffrey Grosenbach
topfunky.net/svn/plugins/db_memcache_store/lib/...
optimizing queries...
by
Boing Boinger
errtheblog.com/static/pdfs/memcached.pdf
'Include' can improve performance?
by
Zhenbo Hu
tell ActiveRecord what you don not want to select from database
by
rafael magana
let's say you have a table with 5 columns, and you want to select 4 of them:
User.first(:select => "col_1, col_2, col_3, col_4")
with my patch you can do this:
User.first(:noselect => "col_5")
maybe it's not a big improvement in speed but it can help in tables with a bunch of columns. well that's it.
here's the post where I explain a little bit more how it works and the link to the patch: bit.ly/cIt4pa
Educational Content
Writing Usable APIs in Practice
Giovanni Asproni May 19, 2013
Concurrency in Clojure
Stuart Halloway May 17, 2013
Confessions of an Agile Addict
Ole Friis Østergaard May 16, 2013





Hello stranger!
You need to Register an InfoQ account or Login to post comments. But there's so much more behind being registered.Get the most out of the InfoQ experience.
Tell us what you think