Provides information on optimizing Rails applications, covering such topics as working with source controls, setting up a Rails/nginx/Mongrel cluster, and depolying applications to multiple production servers.
Overall, this book had a lot of very good information, and it was very helpful to me as I deployed my first Ruby-On-Rails application into a "Production" environment.
Here's the high points:
* Lots of good information on tools such as Capistrano, MySQL, Mongrel, Apache, and nginx. * The authors clearly know what they are talking about. * It's helpful if you're deploying a "toy" application (like I am) *and* if you're deploying a large, clustered application. * It doesn't assume that you're already an expert on either Web app deployment or Ruby-On-Rails.
Here are some of the things that could be better:
* This book was published over a year ago, and it already feels out-of-date. For example, there isn't one mention of Phusion Passenger, even though this tool seems to be the new standard app server for Ruby-On-Rails in Production environments. * This is very subjective, but I feel like the information could have been organized a little better. I felt as if the author jumped around a bit sometimes. * Also, some of the passages were a little difficult to read due to their incorrect sentence structure. My writing isn't perfect either, but I believe that the editor should have fixed more of these mistakes.
If you're deploying a Ruby app in any setting, then this is a good book to get. I just don't know if I would actually buy it.
This was a surprisingly quick read and gave a good overview of how you'd go about deploying and scaling a Rails app. Ezra Zygmuntowicz, the main author, has probably deployed more Rails apps than anyone else. The first half of the book is slow and the second half will be mostly familiar if you've deployed Rails with root access before. Overall I'm a little disappointed the authors didn't go into more detail, especially on options beyond just Monit for monitoring the health of your processes and their performance. That said, it's nice to have a reference to turn to now, even if it isn't very exhaustive.
There is a chapter on clustering your database that is useful and some interesting ideas for setting up your architecture to scale out using multiple VPS instances rather than physical servers, which makes a lot of sense.
It'll be interesting to see how soon until this book becomes outdated.
I was at first excited about the book, but when I finally got my hands on it, I found the book to be outdated. I helped write parts of the book (the migrations and Subversion chapters), and they should have been rewritten. I understand the book took a very long time to write and produce, which is why it was outdated when it got on my shelf.
Deployment was not that fun before Passenger from Phusion came along. There is still pain if you're trying to use Rails/Phusion/Oracle but at least there is less Apache twiddling now.