Skip to content

Which messaging style?

When one system needs to tell another something, there are four common ways to do it, and most systems use more than one. Answer these questions about one specific interaction, such as “the order service tells the warehouse to ship an order”, to see which style fits it.

1 of 7Does the sender need a result before it can continue?
2 of 7How many systems need to act on each message?
3 of 7Will consumers need to re-read past messages, for example to rebuild data or add a new consumer?
4 of 7Does the order of messages matter?
5 of 7What volume do you expect at peak?
6 of 7Must the sender keep working when the receiver is down?
7 of 7What kind of processing happens on receipt?

Learn more in messaging, event-driven architecture and orchestration vs choreography.

Written and edited by Abhinav Taduka, enterprise software architect.