Problems RabbitMQ solves
All 18 problems from RabbitMQ's listing.
- my web app does slow work inside the request and I want to hand jobs to background workers through a queue
- decouple our microservices so one service being down doesn't lose the messages sent to it
- route each message to the right consumers by topic or header without writing the routing myself
- a self-hosted message broker that speaks AMQP so we're not locked into one cloud's queue service
- replace Amazon SQS with a message queue we run on our own servers
- messages must survive a broker node crashing, so the queue has to be replicated across a cluster
- several consumers need to replay the same event history, like a log, without deleting messages for each other
- connect thousands of IoT devices over MQTT and process their messages in our backend
- forward messages between brokers in different data centres or regions
- browser clients need to publish and subscribe to messages over WebSocket
- see queue depths, consumers and message rates in a web dashboard and through an HTTP API
- export broker metrics to Prometheus and Grafana to alert when a queue backs up
- run a message broker on Kubernetes with an operator that handles the cluster for me
- Celery needs a broker for our Python task queue
- spread work across a pool of workers and make sure every task is acknowledged before it's removed
- let staff log into the broker's admin UI with our Okta or Keycloak accounts
- client libraries for Java, .NET, Python, Go and Ruby that all talk to the same queue
- we need vendor support and disaster recovery to a standby cluster for our production message queue