Monthly Archives: November 2008

Yep, the blog new looks better.

The look and format of this here my blog has just undergone a much delayed overhaul.
Since I occasionally have quite a bit to say, like in my previous entry or this one about where business logic should reside, I’m now only showing excerpts on the index page rather than whole entries.  I’ve also gone though [...]

Posted in Miscellaneous | Tagged , , | Leave a comment

Starting simple with Rails caching

So, you’ve launched your website and increasingly people are actually using it! Congratulations. Money is probably tight and your server(s) are starting to feel the strain but you can’t buy more - people get turned off by slow responding sites and traffic is $$. What do do?

Posted in Features, Memcache | Tagged , , , , , , , , | 1 Comment

How to reduce your memcache reads

Several months back I presented at WellRailed on using Memcache with Rails.  I focused on fragment caching and the libraries I’d created to make life easier.  I’ve now moved some of what I discussed into a plugin available at github which I’ve described as follows:
A enhanced version of and replacement for the MemCacheStore shipping with [...]

Posted in Memcache | Tagged , | Leave a comment

Attributes not saving for models with attachments

I was upgrading a client’s application to Rails 2.1.2 from 2.0.x the other day, this resulted in refreshing a number of gems and plugins including will_paginate and attachment_fu.  In doing so I found a stupid problem that I couldn’t find anything about online - it’s a pretty one off unique case so I thought I’d [...]

Posted in Miscellaneous | Tagged , , , , , | 1 Comment
  •  

  • About Nahum Wild

    I'm a High Performance Website Consultant specialising in Ruby on Rails deployments. In this blog I cover common problems I've seen and provide insight on optimisation techniques.

  • Recommend Me

    Follow me on Twitter