Monthly Archive

  1. April 17, 2007 at 03:51 AM

    Send files faster with X-Sendfile

    Rails' send_file has a beautiful, simple interface. Unfortunately, it ties up your Rails process with the rather mundane task of reading a file from disk. If you use Mongrel, you'll quickly notice that the :stream option doesn't seem to make any difference in memory usage and your mongrel process stubbornly doesn't want to let go of that memory once the file has been sent. This is a very, very bad thing. Continued…

  2. April 09, 2007 at 05:47 AM

    So your subversion server is full...

    No one would actually be foolish enough to try to run a Rails app in an anemic shared hosting account, would they? (Note: I was). Even if they did, any sane person would certainly move to a VPS solution before things got out of hand, right? Well… I did move to an excellent VPS host, but not before I was so low on disk space, that I couldn't even dump my subversion repository to a file. If you’re as dense as me, or you just want to know how to move your repos as quickly as possible, read on. Continued…

  3. April 09, 2007 at 05:13 AM

    Hello World

    Here's that awkward part where I introduce myself to the non-existent readers of my naissant blog. I'll do my best to keep it short for the benefit of everyone involved. Continued…