Why use message brokers? By David Boyne

Why use message brokers? By David Boyne

Why use message brokers?

Reduce pressure off downstream consumers

  • Many people use message brokers to reduce back pressure from downstream services. The sender puts messages on the queue, and consumers can pick up these messages and process them in the batch size they want and the time they like.

  • You can use message brokers to make sure that downstream services do not get too overloaded, which can improve system reliability.

  • Example of this could be to use an SQS queue, to handle many messages, and a consumer to process these messages and delivery information to a third-party API.

Prevent messages/data being lost

Parallel processing

  • Some brokers offer pub/sub patterns allowing you to send events and notify downstream consumers. This pattern allows you to notify downstream processes that something has happened. Many downstream systems can listen to these events.

  • If you are using message queues, you can still have many consumers processing messages from the queue, this allows you to scale processing downstream.

Reducing knowledge of systems

Extra Resources

Want to work together?

If you're interested in collaborating, I offer consulting, training, and workshops. I can support you throughout your event-driven architecture journey, from design to implementation. Feel free to reach out to discuss how we can work together, or explore my services on EventCatalog.

EDA Visuals: The book

Join over 13,000 others learning EDA and download all the EDA visuals directly to your computer.

This book contains all the visuals in one book, you can download, read offline and explore.

Purchasing the book supports my work, but for whatever reason if the book is beyond your budget, you can download it for free here.

Purchase book $15.00
Diagrams and thoughts by @boyney123 to help you learn.