Are You Really a Messaging Expert? Let’s Get It Up a Notch
Ordering Messages, Distributed Transactions, DLQ Management, Security in Message Queues
Don’t have a Medium membership? You can still access the full article right here.
In Part 1 we examined basic but sophisticated messaging system issues like load balancing, retry systems, and request-response patterns. Congratulations if you have perfected those; you have a great start. As every experienced developer is aware, though, there is always more depth of complexity to be addressed.
In Part 2, we are transcending the requirements. It is time to explore more complex subjects that challenge the capabilities of messaging systems. We discuss message ordering, SAGA pattern distributed transactions, Dead-Letter Queue (DLQ) management, and messaging system security.
About ready for the next challenge? Let us start.
1. Developing Consistency and Message Ordering
Message ordering is one of the main challenges in large-scale distributed systems. Though things grow challenging as you scale horizontally, you might think “first in, first out” (FIFO) queues have it covered. Maintaining consistency in message processing while juggling the load is no small challenge.