October 29, 2007
RubyConf and Miscellany
I’m headed to rubyconf this week in Charlotte, NC. If you are too and you want to chat, send me an email (‘nunemakerROCKSgmail.com’.gsub(‘ROCKS’, ‘@’)) or come up and say hi. Good luck with that spammers. Muhahaha.
Over the past month, I’ve spent a lot of time learning how to run a big rails app (sometimes the hard way) and I’m starting to think that I need to start posting a few tips here. I’ve learned how to hookup yum with dag and rpmforge. How to install munin and setup several plugins for server reporting and graphs. How to install everyone’s favorite faithful employee monit to automatically restart your mongrels when they misbehave. How to enable slow query logging and analyze the output. Then take the results of your analyzing and properly index some things in your database. How to rotate your log files on a regular basis. How to automate backups a bit of subversion, your database and assets/resources.
There are probably other things too but it’s too much too remember (and to fit in the long paragraph above). Is anyone interested in a few of these types of articles or should I stay more on specifically ruby and rails code related topics? My thought is that most of us who code in ruby and rails also have to manage the servers that our apps run on so tips like those mentioned above might be handy. Thoughts? Post a comment with yay or nay and maybe why you would say so.