What are the motivations for using a message based system?
I'm seeing a lot about service buses such as NServiceBus and Mass Transit and I'm wondering what the benefits of the underlying methodology are.
A systems-based approach uses a standardized set of management steps that are sequential and may be applied to any major undertaking. This dictates that overarching objectives, strategies, and tactics are established to promote effective response management and consistency.
For example, a message broker may be used to manage a workload queue or message queue for multiple receivers, providing reliable storage, guaranteed message delivery and perhaps transaction management.
There are three types of messages: Nominal, Expressive and Predicative.
Message-based asynchronous communication with a single receiver means there's point-to-point communication that delivers a message to exactly one of the consumers that's reading from the channel, and that the message is processed just once.
There are multiple advantages to using message based systems.
Incidentally the two market leaders in this area are IBM with their Websphere MQ and related products, and, TIBCO with their Enterprise Service Bus.
A message-based architecture de-couples producers and consumers of messages, both in time and space. This has a lot of benefits:
You lose most of these benefits when you do RPC-style communication (i.e. when you block while waiting for service responses)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With