DEV Community 👩‍💻👨‍💻

Mathilde Lelong
Mathilde Lelong

Posted on

#TestCulture 🦅 Episode 6 - Mine canaries to Canary Releasing

Canary Release reminds 𝟏𝟗𝐭𝐡 𝐚𝐧𝐝 𝟐𝟎𝐭𝐡 𝐜𝐞𝐧𝐭𝐮𝐫𝐲, when miners tested new mines to avoid being poisoned or burned by flammable pockets of gases.

Image description

Small animals like canaries were useful to detect 𝒑𝒐𝒊𝒔𝒐𝒏 because of their rapid breathing rate and high metabolism. When the birds began to collapse, the miners knew that 𝒑𝒐𝒊𝒔𝒐𝒏𝒐𝒖𝒔 𝒈𝒂𝒔 was nearby and that the area was dangerous.

If this practice ended 𝐢𝐧 𝟏𝟗𝟖𝟕 as new detection technology was developed, the concept has been resurrected in the DevOps context... but without canaries! 🐣

In the context of 𝘿𝙚𝙫𝙊𝙥𝙨, Canary Releasing is the act of deploying a new release to a small group of users, before releasing it to all. This method reduces the risk of problems in the new release.

It's a way to test your software without blocking the delivery process, even with slow life cycles. 🔄
Canary Releasing provides a testing environment that can be 𝙥𝙖𝙧𝙩𝙞𝙘𝙪𝙡𝙖𝙧𝙡𝙮 𝙙𝙞𝙛𝙛𝙞𝙘𝙪𝙡𝙩 with very large systems without a robust share-based architecture.

Canaries are no longer used as test subjects, but the expression persists in time in new areas...

Image description

Thread on Twitter.


📚 𝕊𝕠𝕦𝕣𝕔𝕖𝕤:
🎴 https://agilitest.com/cards/canary-releasing
📖 https://magazine.cim.org/en/in-search/who-brought-the-canary-into-the-coal-mine-en/
🌐 https://martinfowler.com/bliki/ImmutableServer.html

Top comments (0)

🌚 Life is too short to browse without dark mode