I'm looking into the ESB thing with .net like NServiceBus etc , can someone highlight what kind of real world business problems can be solved (forget the technical edge) ? And is this used to integrate different systems.?
A very popular reason to use it would be to make use of the publisher subscriber pattern.
An example, one command message is sent to an application layer to process some business logic. Once complete a message is published with any updated data to which several services are listening, say a cluster of caches.
There are benefits of side by side versioning. Newer commands could have different names. It can also help if you are interested in using Command Query Separation.
Another would be implementing cross cutting concerns that listen to specific messages.
All in all it's a very deep subject. However, I would ask what problems you have first? As everything it brings along it own challenges and does certainly not come for free (effort wise I mean not cost).
We are using RabbitMQ for message queuing. It is fast and robust producer consumer solution. We use both transient and persistant delivery types. Transient messages are used for soft realtime calculation updates. Persistant for entity status updates - mainly to transfer database updates to other services.
© 2022 - 2024 — McMap. All rights reserved.