To Message Bus or Not: Distributed Systems Design (2017)
This article talks about the benefit of a message bus being pub&#x2F;sub. This definitely helps to decouple the internals of apps, which in turn makes things easier to maintain.<p>There are many other benefits to using a message bus, and it&#x27;s a better fit in general to distributed systems. The hard part is understanding how to structure apps to make them compatible with messaging.<p>Imagine sending out a command to the bus and not knowing when it&#x27;ll get processed. Perhaps under a second, perhaps next week. You can&#x27;t expect a reply at that point because the service that sent it may no longer be running.<p>If you&#x27;re on Node, try <a href="https:&#x2F;&#x2F;node-ts.github.io&#x2F;bus&#x2F;" rel="nofollow">https:&#x2F;&#x2F;node-ts.github.io&#x2F;bus&#x2F;</a><p>It&#x27;s a service bus that manages the complexity of rabbit&#x2F;sqs&#x2F;whatever, so you can build simple message handlers and complex orchestration workflows