O'Reilly logo

Web Application Development with MEAN by Robert Onodi, Adrian Mejia, Amos Q. Haviv

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Deploying a new version of the app

Deploying can be a repetitive and error-prone task. However, we are going to automate it to make it more efficient. We are going to use a deployment tool called Capistrano to ease the task of deploying new versions of our app. We are also aiming for zero-downtime upgrades.

Zero-downtime deployments

It's not convenient for users to see a message, such as Site down for maintenance, so we are going to avoid that at all costs. We would also like to able to update our app as often as needed without the users even noticing. This can be accomplished with a zero-downtime architecture. Using two node applications, we can update one first while the other is still serving new requests. Then, we update the second app while ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required