Buy Used
Used - Good See details
Price: £10.56

or
Sign in to turn on 1-Click ordering.
 
   
Have one to sell? Sell yours here
Deploying Rails Applications: A Step-by-Step Guide
 
See larger image
 
Tell the Publisher!
I’d like to read this book on Kindle

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

Deploying Rails Applications: A Step-by-Step Guide [Paperback]

Ezra Zygmuntowicz , Bruce Tate , Clinton Begin
4.0 out of 5 stars  See all reviews (1 customer review)

Available from these sellers.


Amazon.co.uk Trade-In Store
Did you know you can trade in your old books for an Amazon.co.uk Gift Card to spend on the things you want? Plus, get an extra £5 Gift Certificate when you trade in books worth £10 or more before June 30, 2012. Visit the Books Trade-In Store for more details.


Product details

  • Paperback: 300 pages
  • Publisher: The Pragmatic Programmers; 1 edition (1 Mar 2008)
  • Language English
  • ISBN-10: 0978739205
  • ISBN-13: 978-0978739201
  • Product Dimensions: 22.7 x 19.3 x 2 cm
  • Average Customer Review: 4.0 out of 5 stars  See all reviews (1 customer review)
  • Amazon Bestsellers Rank: 783,627 in Books (See Top 100 in Books)

More About the Author

Ezra Zygmuntowicz
Discover books, learn about writers, and more.

Visit Amazon's Ezra Zygmuntowicz Page

Product Description

Product Description

First 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!

From the Publisher

This book will help you sleep better at night, knowing that
your application can handle anything that gets thrown at it. Come away with
the knowledge of how to optimize your Rails projects for speed and
concurrency. You'll take advantage of advanced caching techniques and
become and expert in lighttpd and Apache server environments.

No longer will it be trial and error when it comes time to go live with
your gem of an application. You'll not only learn the how of configuring
your production environment, you will also learn the theory behind it so
you can adapt and keep up with new methodologies as Rails technologies
rapidly advance.


Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
 

Your tags: Add your first tag
 

Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more


Customer Reviews

5 star
0
3 star
0
2 star
0
1 star
0
Most Helpful Customer Reviews
By Owain
Format:Paperback
I bought this since I was about to start building a Rails app on a dedicated server. The author has quite a nice analogy of leaving home, moving to your first flat, buying your first place that works well with the three deployment options. It covers shared hosts, virtual private servers and dedicated hosts. I could skip some of these chapters since "I already had my own house".

Well worth the read since I am sure Capistrano will save a lot of heartache later.

Only talks about Subversion for version control, I would like to have seen something on Git.
Comment | 
Was this review helpful to you?
Most Helpful Customer Reviews on Amazon.com (beta)
Amazon.com:  6 reviews
3 of 3 people found the following review helpful
authoritative guide to rails basic tools 3 Jun 2008
By pounding on the keyboard - Published on Amazon.com
Format:Paperback
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 what can go wrong. Just not quite the detail they go into, in, say the Frisch and Nemeth/Snyder/Hein unix admin books. I think for a lot of people (many java or PHP devs don't have to worry about the infrastructure of their production boxes, they had STDIFT (somebody to do it for them), this is a must have.

This book isn't perfect. What it covers it covers beautifully, what it doesn't cover, well, it kinda slows down to 30 MPH for a red light. Witness pp 234-5: covers nested sets, STI, indexes and normalization, AR duck typing, polymorphic associations. Geez, that's a lotta topics for slightly less than 1 page. Well, they're outside the scope of this treatment and there aren't a lot of references given. What about all the Yslow stuff that everybody's talking about: JS /CSS compression/lazy loading, CDN, reduce DNS lookups. Some topics are here, some aren't. Basically, that's what you worry about after you've dug thru logfiles and profiled, topics this book covers in excellent depth.

There are a few editing/editorial slips. 3 authors flip-flop between debian/ubuntu & RH/centOS/FC families (and don't talk about FreeBSD /solaris). Page 92 seems to suggest the default Leopard ruby install is fine. p 212: they're comparing a ubuntu, single CPU machine against a 2-cpu, windows machine running ??. I figure the editor should have said "huh?". and p 172 they write a lot about mySQL clustering limitations, when they could've talked about postgres instead of/in addition to.

But really with stuff they could've written about, we're talking about a 600 page book, not this 250 page book with nice margins, easy to read fonts. So that' s my story and i'm sticking to it.
2 of 2 people found the following review helpful
Some good info, lots of padding 14 April 2009
By M. Baumann - Published on Amazon.com
Format:Paperback
Overall this book contained some useful information, but some explanations were vague and there was way too much padding.

Version control is addressed and Subversion is the only program discussed. It would have been nice to have had more general version control information and use Subversion as an example of it rather than showing svn as being the only way, especially with the increased popularity of Git for version control with ruby.

There is an entire chapter on using windows to deploy. I don't use windows so I didn't read this chapter, it might be useful to some.

The author talks about using virtual machines to deploy in Chapter 7. I thought this information could have been a little more detailed. Perhaps if the book didn't contain so much padding there would have been room (seriously, if you are considering deploying rails, surely you should know how to install it and create a new rails app??).

It would have been nice if there had been more detailed examples from start to finish rather than bits and pieces.

An nginx config file is included at the end of the book for those who would like a complete example.

MySQL is the only database addressed and the author continues to give directions on how to replicate / cluster mySQL even AFTER saying repeatedly that it can be a bad idea. It would have been nice if he had addressed an alternative database since Rails is meant to be database independent (easy database switching?).

Does include info about deploying to a shared host environment as well as VPS and dedicated servers.

Overall, some good information is in this book, but there could be a lot more information as well. Might be a good place to start, but you will likely need to look up a lot of additional information. I'm pretty new to developing and I found this book to be very easy to read, too easy, as it contains very little solid information.
2 of 2 people found the following review helpful
Quite useful for Figuring out Capistrano and Mongrel Cluster 29 Oct 2008
By Bharat C. Ruparel - Published on Amazon.com
Format:Paperback|Amazon Verified Purchase
The value provided by this book is quite subtle. It is when you are faced with a task of deploying something you don't quite understand and are uncertain of which way to go.
I had to upgrade the app that I had inherited from Capistrano 1.4.1./Deprec gem 1.9.2 to Capistrano 2.5.0 and was not quite sure of how to go about it. The app also used mongrel clusters that I did not know well.
I realized that I did not quite undertstand how Capistrano worked in the first place. I had many references, all good mind you, but did not fully get it until I sat down with Ezra's book this week-end evening and went through it again focusing on chapters on Capistrano and Mongrels. This time though, I had a sense of purpose, i.e., to get this migration task done. Ezra really has been through many deployments and communicates that knowledge in a very useful and fundamental way.
The next morning, I cleaned up my muddled script and was able to debug it within an hour and deployed it successfully. It is working quite well. Thanks Ezra. Now if you could do a detailed book on Phusion Passenger, I would buy it.
Bharat
Search Customer Reviews
Only search this product's reviews

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 

Search Customer Discussions
Search all Amazon discussions
   


Listmania!

Create a Listmania! list

Look for similar items by category


Look for similar items by subject


Feedback