{"id":15794,"date":"2022-06-15T11:30:20","date_gmt":"2022-06-15T09:30:20","guid":{"rendered":"https:\/\/www.transparentedge.eu\/blog\/canary-deployment\/"},"modified":"2024-09-18T13:19:12","modified_gmt":"2024-09-18T11:19:12","slug":"canary-deployment","status":"publish","type":"post","link":"https:\/\/www.transparentedge.eu\/en\/blog\/canary-deployment\/","title":{"rendered":"What is canary deployment?"},"content":{"rendered":"<p><span style=\"font-weight: 400;\">A <\/span><b>deployment strategy<\/b><span style=\"font-weight: 400;\"> is a practice used to change or update an application. Every developer knows that unfortunately, a deployment can be like a game of chance: as good as a developer that you are, a portion of the success is out of your hands, due to testing that can only be conducted in production and bugs that are only detectable at that stage.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">When <\/span><b>transitioning an application to the production stage<\/b><span style=\"font-weight: 400;\">, we replace the previous version with the new one. And if the new one has an issue\u2026 BOOM! We can be dealing with a partial or total application outage, with the consequences it has for our organization, none of them good.\u00a0<\/span><\/p>\n<h2><span style=\"font-weight: 400;\">A LOOK BACK TO THE 19TH CENTURY<\/span><\/h2>\n<p><span style=\"font-weight: 400;\">Fortunately, there\u2019s a way to prevent disaster: canary deployment. The concept and name are based on a practice in coal mines during the 19th century. One of the biggest risks while working in the mine were toxic gasses that could cause explosions or fire. Some of these gasses, like carbon monoxide, are non-detectable for humans (they\u2019re odorless).\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">So, the miners took with them<\/span> <a href=\"https:\/\/en.wiktionary.org\/wiki\/canary_in_a_coal_mine\"><span style=\"font-weight: 400;\">caged canaries<\/span><\/a><span style=\"font-weight: 400;\">. These birds are particularly sensitive to gasses. If they saw that the bird suffered any kind of<\/span> <a href=\"https:\/\/www.abc.es\/recreo\/abci-funciona-este-antiguo-resucitador-canarios-201808201400_noticia.html\"><span style=\"font-weight: 400;\">effect<\/span> <\/a><span style=\"font-weight: 400;\">(including death), they knew they had to evacuate the mine.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Back to deployment strategies and applications transitioning into production, canary deployment is a practice to prevent our application from collapsing like a mine affected by an explosion or fire.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">In this practice,<\/span><b> the canary is a controlled production environment that gradually receives web and application traffic<\/b><span style=\"font-weight: 400;\">. Meaning, the application is incrementally released, and the infrastructure of the target environment is updated in small and controlled phases.<\/span><\/p>\n<h2><span style=\"font-weight: 400;\">TRAFFIC BALANCING IN CANARY DEPLOYMENT<\/span><\/h2>\n<p><span style=\"font-weight: 400;\">Our <\/span><a href=\"https:\/\/www.transparentedge.eu\/blog\/cdn-de-nueva-generacion\/\"><span style=\"font-weight: 400;\">next-generation CDN<\/span><\/a><span style=\"font-weight: 400;\"> balances production traffic between the old application and the canary, providing developers and DevOps with greater <\/span><b>reliability and security in their production releases<\/b><span style=\"font-weight: 400;\">. The slow rollout allows for a quick and safe rollback to the previous version of the application if any issues are found. In other words, if there were any problems with the new version, it would only affect a small percentage of users, and the issue could be resolved quickly.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Canary Deployment, with traffic balancing performed by our CDN, provides us with an opportunity to test a version of the application in production for a set of real users and use cases. This gives us an opportunity to compare different versions without the need for two production environments.<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>What is canary deployment and how does this type of test prevent an entire application from crashing?<\/p>\n","protected":false},"author":14,"featured_media":15941,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"content-type":"","footnotes":""},"categories":[137],"tags":[138,139,140,141],"class_list":["post-15794","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-optimizacion-en","tag-alto-rendimiento-en","tag-cdn-en","tag-distribucion-de-contenidos-en","tag-edgecomputing-en"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>What is canary deployment? - Transparent Edge<\/title>\n<meta name=\"description\" content=\"What is canary deployment and how does this type of test prevent an entire application from crashing?\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.transparentedge.eu\/blog\/canary-deployment\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"What is canary deployment? - Transparent Edge\" \/>\n<meta property=\"og:description\" content=\"What is canary deployment and how does this type of test prevent an entire application from crashing?\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.transparentedge.eu\/blog\/canary-deployment\/\" \/>\n<meta property=\"og:site_name\" content=\"Transparent Edge\" \/>\n<meta property=\"article:published_time\" content=\"2022-06-15T09:30:20+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-09-18T11:19:12+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.transparentedge.eu\/wp-content\/uploads\/2022\/06\/Canary-deployment-scaled-1-1.jpeg\" \/>\n\t<meta property=\"og:image:width\" content=\"2560\" \/>\n\t<meta property=\"og:image:height\" content=\"1613\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Jara Exp\u00f3sito\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:title\" content=\"\u00bfQu\u00e9 es el canary deployment?\" \/>\n<meta name=\"twitter:description\" content=\"Abordamos el canary deployment como estrategia de despliegue con nuestra CDN de nueva generaci\u00f3n como balanceador de tr\u00e1fico.\" \/>\n<meta name=\"twitter:image\" content=\"https:\/\/www.transparentedge.eu\/wp-content\/uploads\/2022\/06\/Canary-deployment-scaled-1.jpeg\" \/>\n<meta name=\"twitter:creator\" content=\"@tedgeservices\" \/>\n<meta name=\"twitter:site\" content=\"@tedgeservices\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.transparentedge.eu\\\/blog\\\/canary-deployment\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.transparentedge.eu\\\/blog\\\/canary-deployment\\\/\"},\"author\":{\"name\":\"Jara Exp\u00f3sito\",\"@id\":\"https:\\\/\\\/www.transparentedge.eu\\\/#\\\/schema\\\/person\\\/e2bd1cb076dea3d14dfdad4191c83f1a\"},\"headline\":\"What is canary deployment?\",\"datePublished\":\"2022-06-15T09:30:20+00:00\",\"dateModified\":\"2024-09-18T11:19:12+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.transparentedge.eu\\\/blog\\\/canary-deployment\\\/\"},\"wordCount\":414,\"publisher\":{\"@id\":\"https:\\\/\\\/www.transparentedge.eu\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.transparentedge.eu\\\/blog\\\/canary-deployment\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.transparentedge.eu\\\/wp-content\\\/uploads\\\/2022\\\/06\\\/Canary-deployment-scaled-1-1.jpeg\",\"keywords\":[\"alto rendimiento\",\"CDN\",\"distribuci\u00f3n de contenidos\",\"EdgeComputing\"],\"articleSection\":[\"optimizaci\u00f3n\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.transparentedge.eu\\\/blog\\\/canary-deployment\\\/\",\"url\":\"https:\\\/\\\/www.transparentedge.eu\\\/blog\\\/canary-deployment\\\/\",\"name\":\"What is canary deployment? - Transparent Edge\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.transparentedge.eu\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.transparentedge.eu\\\/blog\\\/canary-deployment\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.transparentedge.eu\\\/blog\\\/canary-deployment\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.transparentedge.eu\\\/wp-content\\\/uploads\\\/2022\\\/06\\\/Canary-deployment-scaled-1-1.jpeg\",\"datePublished\":\"2022-06-15T09:30:20+00:00\",\"dateModified\":\"2024-09-18T11:19:12+00:00\",\"description\":\"What is canary deployment and how does this type of test prevent an entire application from crashing?\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.transparentedge.eu\\\/blog\\\/canary-deployment\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.transparentedge.eu\\\/blog\\\/canary-deployment\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.transparentedge.eu\\\/blog\\\/canary-deployment\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.transparentedge.eu\\\/wp-content\\\/uploads\\\/2022\\\/06\\\/Canary-deployment-scaled-1-1.jpeg\",\"contentUrl\":\"https:\\\/\\\/www.transparentedge.eu\\\/wp-content\\\/uploads\\\/2022\\\/06\\\/Canary-deployment-scaled-1-1.jpeg\",\"width\":2560,\"height\":1613},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.transparentedge.eu\\\/blog\\\/canary-deployment\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Portada\",\"item\":\"https:\\\/\\\/www.transparentedge.eu\\\/en\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"What is canary deployment?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.transparentedge.eu\\\/#website\",\"url\":\"https:\\\/\\\/www.transparentedge.eu\\\/\",\"name\":\"Transparent Edge\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.transparentedge.eu\\\/#organization\"},\"alternateName\":\"Transparent Edge\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.transparentedge.eu\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.transparentedge.eu\\\/#organization\",\"name\":\"Transparent Edge Services\",\"alternateName\":\"Transparent Edge\",\"url\":\"https:\\\/\\\/www.transparentedge.eu\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.transparentedge.eu\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.transparentedge.eu\\\/wp-content\\\/uploads\\\/2023\\\/07\\\/logotipo-cuadrado.jpg\",\"contentUrl\":\"https:\\\/\\\/www.transparentedge.eu\\\/wp-content\\\/uploads\\\/2023\\\/07\\\/logotipo-cuadrado.jpg\",\"width\":1328,\"height\":1180,\"caption\":\"Transparent Edge Services\"},\"image\":{\"@id\":\"https:\\\/\\\/www.transparentedge.eu\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/x.com\\\/tedgeservices\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/transparent-edge\\\/\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UC5zZoyZmiLGBTAdiFpj2xHA\\\/videos\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.transparentedge.eu\\\/#\\\/schema\\\/person\\\/e2bd1cb076dea3d14dfdad4191c83f1a\",\"name\":\"Jara Exp\u00f3sito\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"What is canary deployment? - Transparent Edge","description":"What is canary deployment and how does this type of test prevent an entire application from crashing?","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.transparentedge.eu\/blog\/canary-deployment\/","og_locale":"en_US","og_type":"article","og_title":"What is canary deployment? - Transparent Edge","og_description":"What is canary deployment and how does this type of test prevent an entire application from crashing?","og_url":"https:\/\/www.transparentedge.eu\/blog\/canary-deployment\/","og_site_name":"Transparent Edge","article_published_time":"2022-06-15T09:30:20+00:00","article_modified_time":"2024-09-18T11:19:12+00:00","og_image":[{"width":2560,"height":1613,"url":"https:\/\/www.transparentedge.eu\/wp-content\/uploads\/2022\/06\/Canary-deployment-scaled-1-1.jpeg","type":"image\/jpeg"}],"author":"Jara Exp\u00f3sito","twitter_card":"summary_large_image","twitter_title":"\u00bfQu\u00e9 es el canary deployment?","twitter_description":"Abordamos el canary deployment como estrategia de despliegue con nuestra CDN de nueva generaci\u00f3n como balanceador de tr\u00e1fico.","twitter_image":"https:\/\/www.transparentedge.eu\/wp-content\/uploads\/2022\/06\/Canary-deployment-scaled-1.jpeg","twitter_creator":"@tedgeservices","twitter_site":"@tedgeservices","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.transparentedge.eu\/blog\/canary-deployment\/#article","isPartOf":{"@id":"https:\/\/www.transparentedge.eu\/blog\/canary-deployment\/"},"author":{"name":"Jara Exp\u00f3sito","@id":"https:\/\/www.transparentedge.eu\/#\/schema\/person\/e2bd1cb076dea3d14dfdad4191c83f1a"},"headline":"What is canary deployment?","datePublished":"2022-06-15T09:30:20+00:00","dateModified":"2024-09-18T11:19:12+00:00","mainEntityOfPage":{"@id":"https:\/\/www.transparentedge.eu\/blog\/canary-deployment\/"},"wordCount":414,"publisher":{"@id":"https:\/\/www.transparentedge.eu\/#organization"},"image":{"@id":"https:\/\/www.transparentedge.eu\/blog\/canary-deployment\/#primaryimage"},"thumbnailUrl":"https:\/\/www.transparentedge.eu\/wp-content\/uploads\/2022\/06\/Canary-deployment-scaled-1-1.jpeg","keywords":["alto rendimiento","CDN","distribuci\u00f3n de contenidos","EdgeComputing"],"articleSection":["optimizaci\u00f3n"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.transparentedge.eu\/blog\/canary-deployment\/","url":"https:\/\/www.transparentedge.eu\/blog\/canary-deployment\/","name":"What is canary deployment? - Transparent Edge","isPartOf":{"@id":"https:\/\/www.transparentedge.eu\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.transparentedge.eu\/blog\/canary-deployment\/#primaryimage"},"image":{"@id":"https:\/\/www.transparentedge.eu\/blog\/canary-deployment\/#primaryimage"},"thumbnailUrl":"https:\/\/www.transparentedge.eu\/wp-content\/uploads\/2022\/06\/Canary-deployment-scaled-1-1.jpeg","datePublished":"2022-06-15T09:30:20+00:00","dateModified":"2024-09-18T11:19:12+00:00","description":"What is canary deployment and how does this type of test prevent an entire application from crashing?","breadcrumb":{"@id":"https:\/\/www.transparentedge.eu\/blog\/canary-deployment\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.transparentedge.eu\/blog\/canary-deployment\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.transparentedge.eu\/blog\/canary-deployment\/#primaryimage","url":"https:\/\/www.transparentedge.eu\/wp-content\/uploads\/2022\/06\/Canary-deployment-scaled-1-1.jpeg","contentUrl":"https:\/\/www.transparentedge.eu\/wp-content\/uploads\/2022\/06\/Canary-deployment-scaled-1-1.jpeg","width":2560,"height":1613},{"@type":"BreadcrumbList","@id":"https:\/\/www.transparentedge.eu\/blog\/canary-deployment\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Portada","item":"https:\/\/www.transparentedge.eu\/en\/"},{"@type":"ListItem","position":2,"name":"What is canary deployment?"}]},{"@type":"WebSite","@id":"https:\/\/www.transparentedge.eu\/#website","url":"https:\/\/www.transparentedge.eu\/","name":"Transparent Edge","description":"","publisher":{"@id":"https:\/\/www.transparentedge.eu\/#organization"},"alternateName":"Transparent Edge","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.transparentedge.eu\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.transparentedge.eu\/#organization","name":"Transparent Edge Services","alternateName":"Transparent Edge","url":"https:\/\/www.transparentedge.eu\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.transparentedge.eu\/#\/schema\/logo\/image\/","url":"https:\/\/www.transparentedge.eu\/wp-content\/uploads\/2023\/07\/logotipo-cuadrado.jpg","contentUrl":"https:\/\/www.transparentedge.eu\/wp-content\/uploads\/2023\/07\/logotipo-cuadrado.jpg","width":1328,"height":1180,"caption":"Transparent Edge Services"},"image":{"@id":"https:\/\/www.transparentedge.eu\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/tedgeservices","https:\/\/www.linkedin.com\/company\/transparent-edge\/","https:\/\/www.youtube.com\/channel\/UC5zZoyZmiLGBTAdiFpj2xHA\/videos"]},{"@type":"Person","@id":"https:\/\/www.transparentedge.eu\/#\/schema\/person\/e2bd1cb076dea3d14dfdad4191c83f1a","name":"Jara Exp\u00f3sito"}]}},"_links":{"self":[{"href":"https:\/\/www.transparentedge.eu\/en\/wp-json\/wp\/v2\/posts\/15794","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.transparentedge.eu\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.transparentedge.eu\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.transparentedge.eu\/en\/wp-json\/wp\/v2\/users\/14"}],"replies":[{"embeddable":true,"href":"https:\/\/www.transparentedge.eu\/en\/wp-json\/wp\/v2\/comments?post=15794"}],"version-history":[{"count":5,"href":"https:\/\/www.transparentedge.eu\/en\/wp-json\/wp\/v2\/posts\/15794\/revisions"}],"predecessor-version":[{"id":19940,"href":"https:\/\/www.transparentedge.eu\/en\/wp-json\/wp\/v2\/posts\/15794\/revisions\/19940"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.transparentedge.eu\/en\/wp-json\/wp\/v2\/media\/15941"}],"wp:attachment":[{"href":"https:\/\/www.transparentedge.eu\/en\/wp-json\/wp\/v2\/media?parent=15794"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.transparentedge.eu\/en\/wp-json\/wp\/v2\/categories?post=15794"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.transparentedge.eu\/en\/wp-json\/wp\/v2\/tags?post=15794"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}