Messaging solutions play a vital role in modern distributed systems, enabling reliable communication, supporting asynchronous processing, and providing loose coupling between components. Additionally, messaging solutions improve application availability and help protect systems from traffic spikes. The options range from stream-based to queue-based services, each offering unique strengths and trade-offs.
Selecting a message broker is not generally approached with a clear methodology. Decisions are often influenced by trends, personal preferences, or the ease of access to a particular technology rather than the specific needs of an application. However, selecting the right broker should focus on aligning its key characteristics with the application's requirements – this is the central focus of this article.
The complete version of this article examines two of the most popular messaging solutions: Apache Kafka (stream-based) and Amazon SQS (queue-based). By discussing how their respective characteristics align (or don't) with common messaging patterns, the article aims to provide insights that will help make more informed decisions. With this understanding, readers will be better equipped to evaluate other messaging scenarios and brokers, ultimately choosing the one that best suits their application's needs.
This content is an excerpt from a recent InfoQ article by Nehme Bilal, "Beyond Trends: A Practical Guide to Choosing the Right Message Broker".
To get notifications when InfoQ publishes content on these topics, follow "Architecture and Design", "Event-Driven Architecture", and "Cell-based Architecture" on InfoQ.
Missed a newsletter? You can find all of the previous issues on InfoQ.
Sponsored
|
APIs drive modern digital ecosystems, but sprawl, governance gaps, and performance bottlenecks create major hurdles. Without a strong APIOps strategy, teams face inefficiencies, security risks, and barriers to innovation. This white paper explores key APIOps best practices—streamlining API development, managing sprawl with federated governance, and ensuring enterprise-grade scalability and security—to optimize API Management operations for agility, control, and resilience.
Download the white paper “The APIOps Playbook: Managing APIs with Speed, Security, and Scale”, sponsored by Boomi.
|
|
Upcoming Events
InfoQ and QCon: For practitioners, by practitioners
QCon London 2025 (April 7-10): Less than two weeks away
Don't miss your chance to join 125+ senior software practitioners across 15+ tracks and 4 keynotes. Gain deep technical insights on AI, platform engineering, security, and DevEx—no hidden product pitches, just actionable takeaways. Secure your spot now before it's too late.
InfoQ Dev Summit Boston 2025 (June 9-10): New sessions announced
Hear from senior developers at CarGurus, Netflix, The New York Times, Shopify, MongoDB, and more. Gain real-world insights on cloud infrastructure, data architectures, AI, and scaling resilient systems. Register before April 15 to save with early pricing. See the sessions & register now.
QCon San Francisco 2025 (November 17-21): First look at the key topics
Provisional tracks include AI/ML in production, scalable architectures, developer productivity, security, and engineering leadership. Learn how top teams are solving the toughest software challenges. Save with early pricing before April 15. Preview the tracks & register.
InfoQ Dev Summit Munich 2025 (October 15-16): Returning for its second year
Join senior developers for two days of deep technical discussions on AI adoption, resilience, and scalable architectures. Renato Losio returns as conference chair, curating real-world lessons to tackle today's toughest software challenges. Save with launch pricing before April 15. Explore the conference and register.