# Milan Milanović - What Are Deployment Patterns (Highlights) ![rw-book-cover|256](https://substackcdn.com/image/fetch/w_1200,h_600,c_fill,f_jpg,q_auto:good,fl_progressive:steep,g_auto/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F563ae48e-07a9-47c4-a036-146ee4683628_3182x3544.png) ## Metadata **Review**:: [readwise.io](https://readwise.io/bookreview/30388631) **Source**:: #from/readwise #from/reader **Zettel**:: #zettel/fleeting **Status**:: #x **Authors**:: [[Milan Milanović]] **Full Title**:: What Are Deployment Patterns **Category**:: #articles #readwise/articles **Category Icon**:: 📰 **URL**:: [newsletter.techworld-with-milan.com](https://newsletter.techworld-with-milan.com/p/what-are-deployment-patterns?ref=refind) **Host**:: [[newsletter.techworld-with-milan.com]] **Highlighted**:: [[2023-07-23]] **Created**:: [[2023-07-24]] ## Highlights - A canary release is a method of spotting possible issues before they affect all consumers. Before making a new feature available to everyone, the plan is only to show it to a select group of users. ([View Highlight](https://read.readwise.io/read/01h60a5h4dzn8efnns5bzac1jm)) ^567801787 - **Blue/green deployments** Here we have run two similar environments simultaneously, lowering risk and downtime. These surroundings are referred to be blue and green. Only one of the environments is active at any given moment. A router or load balancer that aids in traffic control is used in a blue-green implementation. ([View Highlight](https://read.readwise.io/read/01h60a7bcfg4g1hvphf2y58zp8)) ^567801881 - Another variant of blue/green deployments is **red/black deployments**. The red version is live in production. We deploy the black version to one or more servers. When a Black version is operational, you switch the router to move all traffic to it. If there is an error, you revert it. ([View Highlight](https://read.readwise.io/read/01h60a7k1ryvj13k6c2tht3m2a)) ^567801886 - **Feature toggles** Here we can turn a switch on/off with feature toggles at runtime. ([View Highlight](https://read.readwise.io/read/01h60a83p6p2q4ywabf47vh2es)) ^567801919 - Two versions of an app are compared using A/B testing to see which one performs better. ([View Highlight](https://read.readwise.io/read/01h60a8eagmp3q5g9sq0tb05eq)) ^567802103 - In a "dark launch," we introduce a new feature to a select group of users rather than the general public. These users must be aware that they are helping us test the functionality. ([View Highlight](https://read.readwise.io/read/01h60a9mbpnp2a121f2cwjh2k6)) ^567802140