Thursday, June 18, 2015

Loosely Coupled Applications with MassTransit and RabbitMq by Roland Guijt

One thing that is becoming abundantly clear during this conference is that SOA, CQRS, and, micro services is the new black. At the center of this you always find the service bus; MassTansit presents itself as a light weight component to fill this functionality. This is a open source project and it is available on GitHub.

This is a more practical session with examples that does not translate well into the blog posts I’m creating for this conference. I will try to express the key points of the presentation. The code that was demoed is available at GitHub.

As stated in some of the previous post there is a threshold of complexity of the application for the benefits of micros services to be useful. The usual draw backs with monoliths are presented, such as that it hard to allow teams to work in parallel.

The big difference between NServiceBus and MassTransit is that NServiceBus has more features and comes with support but costs money. MassTransit does not cost anything but has no support and lacks some features. MassTransit supports several transports such as RabbitMq and MSMQ.

Sagas in MassTransit are used for correlating services to work concurrently on incoming messages. Useful for long running processes.

This seminar was somewhat like having a blog post read out loud to you. I certainly learned some new things however I was yawning a lot while doing so.

No comments:

Post a Comment