Canary based Deployment Pattern for Microservices

aditya goel
3 min readJan 14, 2023

--

Question: What is Canary based deployment ?

Question: What is the primary benefit of Canary based deployment ?

Question: What shall be the flow with Canary based deployment ?

Question: What all aspects should we observe with Canary deployments, where new version of the application has been deployed ?

Answer → Following are the aspects that we should be monitoring side by side, at the old-servers and at the new-servers :-

  • CPU usage at the canary-server.
  • Memory/Heap usage at the canary server.
  • Whether there is any abrupt increase in count of exceptions at the canary server ?
  • Are there any bugs in the latest code, which has been deployed at canary server ?

Question: Why the name of Canary based deployment is Canary ?

Question: How Canary deployments are implemented ?

Question: How is this selection of 5% is done with Canary deployments ?

Question: What are some advantages of Canary deployments ?

Question: What are some dis-advantages of Canary deployments ?

Question: When we must choose the Canary deployments ?

That’s all in this blog. We shall see you in next write-up. If you liked the content, do clap on this page.

--

--