Product DescriptionFirst you'll learn how to build out your shared, virtual, or dedicated host. Then, you'll see how to build your applications for production and deploy them with one step, every time. Deploying Rails Applications will take you from a simple shared host through a highly scalable clustered and balanced setup with Nginx.
See how to tell whether you've bought enough firepower, and learn how to optimize your Rails projects applications in a systemic, rational way. Take advantage of advanced caching techniques, and become and expert with the latest servers in Nginx and Mongrel. Don't worry. You'll get a dose of Apache too.
Not only will you learn how to configure your production environment, you'll also see how to monitor it with free, automated tools that can restart your servers when the memory use gets too high for comfort. You'll see how to take a performance baseline, profile for bottlenecks, and solve the most common performance problems you're likely to see.
You'll learn:
Everything from source control and migrations to Capistrano, rake tasks and beyond.
Directly from authors who run EngineYard, one of the best Rails hosts in the business.
How to deploy your applications to multiple production servers with a single command using Capistrano.
How to setup a Rails/Nginx/Mongrel cluster for applications with high scalabilty needs.
...and more!
Customer Reviews
Average Rating:
Rating: - Precious info
Ezra's book delivers precious info to every developer interested into Rails applications deployment. Staring from an hardcore-developer point of view maybe the book might had been condensed by eliminating some not-so-useful topics, such as the first chapters about hosting options. Furthermore cloud-computing it's never mentioned. Anyway it remains the only authorative reference about one of the Achilles' heel of the Rails framework.
Rating: - High expectations
I guess because this book was anticipated for so long, the expectation were a bit high. In the mean time I've read loads of information to setup a server on the internet.
Best chapters for me were 8. Scaling out (MySQL clustering was new and interesting) and 9. Performance where you go from a solid base line to the best number of mongrels for your server.
Rating: - authoritative guide to rails basic tools
This is a superb book, the best compact writeups i've seen on setting up Apache load balancing and proxies, nginx, mongrel, SVN server and repos, DNS, MySql caching, capistrano, rake, profiling apps (and there's a lot of blogs, books on these subjects. Entire mailing lists, in fact). Compact means they don't go into every option or configuration conceivable, you get everything (to almost 2 sigma) you need to know to get it going reliably, scalably, loggably, plus a lot of hard-won knowledge about ... Read More
Rating: - Finally, Deployment makes sense.
I buy a lot of books, mostly Ruby and Rails books. Most of them are follow-me guides that don't explain anything. Sure, ya did it, but you don't know why. Not this one. Ezra Zygmuntowicz actually explains how it works, why you need to do it and then, how to do it. And few people know as much about deployment.
This is an extremely well written, "must have" reference.