Ruby Weekly is a weekly newsletter covering the latest Ruby and Rails news.

Speed up your Rails database requests with memcached

By Peter Cooper / August 17, 2006

Geoffrey Grosenbach looks at how to use memcached, a fast in-memory caching daemon, from Ruby and Rails to speed up common repeated data operations, including ActiveRecord lookups. He also includes a useful install script and patch for Mac OS X users to make memcached fly on that platform. He also demonstrates the use of the cached_model gem to significantly speed up database reads from Rails applications.

Other Posts to Enjoy

Twitter Mentions