rabbitmq / tgir

Official repository for Thank Goodness It's RabbitMQ (TGIR)!
Apache License 2.0
65 stars 17 forks source link

What happens when I upgrade RabbitMQ? #2

Closed dlresende closed 4 years ago

dlresende commented 4 years ago

A new RabbitMQ version comes out. Exciting! Shiny new features, bug fixes, security patches, etc. It's time to upgrade. But hang on a bit: we have tens or even hundreds of applications using RabbitMQ in production. How should we go about upgrading?

This question comes up frequently in the enterprise RabbitMQ community, as part of what we call Day 2 Operations. Every company or team decide which upgrade strategy works better for them: blue-green deployment, rolling (one node at a time) upgrades, etc. But every strategy comes with its advantages and trade-offs, which are not well understood by RabbitMQ users.

What happens to clients during a rolling upgrade? What happens to particular types of queues? What if an alarm gets triggered during an upgrade? When should I expect for downtime? When there's a risk of data loss? How clusters reform after an upgrade? How to configure RabbitMQ or its clients to be upgrade-resilient? These questions come up over and over again and I think many people would benefit from some literature or guidance around RabbitMQ upgrades.

Coder Dilemma #9 – The Upgrade

gerhard commented 4 years ago

This is a great idea, I really like the format of your proposal, especially the comic. I would like all future topic proposals to follow this format 😉

The timing of this topic couldn't be better, since:

Thanks @dlresende !