Posted by Sheldon Finlay
on February 08, 2009
Passenger has really become the gold standard in easy deployment of Ruby on Rails apps. It’s amazing simple to configure and quite efficient. In addition to the installation tool, there are a couple small analysis/maintenance tools that are included for giving you some insight into how Passenger is running on your system. You don’t hear much talk about them and I quickly overlooked them at first.
passenger-memory-stats
This tool allows you to see a display of the real-time memory usage for Passenger and Apache.
passenger-status
This tool shows you what your current passenger stats are and what apps are currently running.
You can read more about both of these in the Passenger documention.
Posted by Sheldon Finlay
on February 06, 2009
It doesn’t matter if your web site gets 10 hits a day or 10 million hits a day. It’s a good coder who plans for future growth and anticipates how a site will scale as traffic and load increases. Gregg Pollock of Rails Envy has an excellent (free!) 5 part series up at RailsLab. Definitely worth checking out. Gregg also has a (not free) Scaling Ruby screencast on the EnvyCasts web site. I haven’t watch it, but I have watched the Advanced ActiveRecord screencast and it was both informative and entertaining. Gregg and Jason make this stuff fun! So check them out.
Posted by Sheldon Finlay
on January 19, 2009
Running with the cheatsheet theme, if you are running OS X or any is with a command line, I highly recommend installing the command line cheatsheets from errtheblog.com. They are great when you just need a quick syntax check on how to run a certain MySQL command or work with a particular library.