Push New Code Safely

The initial deployment of your application is only the first hurdle to overcome. Your code will evolve and needs to be redeployed over time. This presents its own set of challenges, because you want your application updates to be invisible to users. Some teams may solve this by only deploying off-hours, but we’ll look at strategies that allow you to deploy your code at any time.

We’ll discuss two different strategies for doing deployments. The first type that we’ll cover is rolling deployment. We’ll then look at an alternative called blue-green deployment. You’ll see how the deploy method you choose can influence your load balance and uptime. Before we get into the types of deploys, let’s look at the impact that deployment ...

Get Real-Time Phoenix now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.