Post by Peter Cooper on August 17th, 2006
Speed up your Rails database requests with memcached

- acts_as_cached: Easy caching for ActiveRecord
- 9 Great Ruby Libraries from Robot Co-op
- How to Cache Data and Preload The Cache in Rails


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.

Click here to add on del.icio.us
Tweet This








