Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Enterprise Service Bus real world usage or examples

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.?

like image 591
abmv Avatar asked Apr 07 '10 13:04

abmv


2 Answers

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).

like image 98
dove Avatar answered Oct 26 '22 23:10

dove


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.

like image 27
Kimi Avatar answered Oct 26 '22 23:10

Kimi