![Page 1: Loosely Coupled Apps · •The Service Bus == MassTransit •Ethernet is an example of a bus, it’s everywhere! •Don’t confuse with ESB. @rolandguijt Topology and Transport RabbitMq](https://reader036.vdocument.in/reader036/viewer/2022071105/5fde9bda7e867c36f63083f9/html5/thumbnails/1.jpg)
Scaling ApplicationsWith Microservices using MassTransit and RabbitMq
![Page 2: Loosely Coupled Apps · •The Service Bus == MassTransit •Ethernet is an example of a bus, it’s everywhere! •Don’t confuse with ESB. @rolandguijt Topology and Transport RabbitMq](https://reader036.vdocument.in/reader036/viewer/2022071105/5fde9bda7e867c36f63083f9/html5/thumbnails/2.jpg)
@rolandguijt
Roland Guijt
![Page 3: Loosely Coupled Apps · •The Service Bus == MassTransit •Ethernet is an example of a bus, it’s everywhere! •Don’t confuse with ESB. @rolandguijt Topology and Transport RabbitMq](https://reader036.vdocument.in/reader036/viewer/2022071105/5fde9bda7e867c36f63083f9/html5/thumbnails/3.jpg)
@rolandguijt
Agenda
![Page 4: Loosely Coupled Apps · •The Service Bus == MassTransit •Ethernet is an example of a bus, it’s everywhere! •Don’t confuse with ESB. @rolandguijt Topology and Transport RabbitMq](https://reader036.vdocument.in/reader036/viewer/2022071105/5fde9bda7e867c36f63083f9/html5/thumbnails/4.jpg)
@rolandguijt
Let’s Do This?
Graph by Martin Fowler
![Page 5: Loosely Coupled Apps · •The Service Bus == MassTransit •Ethernet is an example of a bus, it’s everywhere! •Don’t confuse with ESB. @rolandguijt Topology and Transport RabbitMq](https://reader036.vdocument.in/reader036/viewer/2022071105/5fde9bda7e867c36f63083f9/html5/thumbnails/5.jpg)
@rolandguijt
Vertical Coupling
Application
Component
Layer
Class
![Page 6: Loosely Coupled Apps · •The Service Bus == MassTransit •Ethernet is an example of a bus, it’s everywhere! •Don’t confuse with ESB. @rolandguijt Topology and Transport RabbitMq](https://reader036.vdocument.in/reader036/viewer/2022071105/5fde9bda7e867c36f63083f9/html5/thumbnails/6.jpg)
@rolandguijt
Horizontal Coupling
![Page 7: Loosely Coupled Apps · •The Service Bus == MassTransit •Ethernet is an example of a bus, it’s everywhere! •Don’t confuse with ESB. @rolandguijt Topology and Transport RabbitMq](https://reader036.vdocument.in/reader036/viewer/2022071105/5fde9bda7e867c36f63083f9/html5/thumbnails/7.jpg)
@rolandguijt
Problems
![Page 8: Loosely Coupled Apps · •The Service Bus == MassTransit •Ethernet is an example of a bus, it’s everywhere! •Don’t confuse with ESB. @rolandguijt Topology and Transport RabbitMq](https://reader036.vdocument.in/reader036/viewer/2022071105/5fde9bda7e867c36f63083f9/html5/thumbnails/8.jpg)
@rolandguijt
SOA
Web
Service
![Page 9: Loosely Coupled Apps · •The Service Bus == MassTransit •Ethernet is an example of a bus, it’s everywhere! •Don’t confuse with ESB. @rolandguijt Topology and Transport RabbitMq](https://reader036.vdocument.in/reader036/viewer/2022071105/5fde9bda7e867c36f63083f9/html5/thumbnails/9.jpg)
@rolandguijt
SOA
![Page 10: Loosely Coupled Apps · •The Service Bus == MassTransit •Ethernet is an example of a bus, it’s everywhere! •Don’t confuse with ESB. @rolandguijt Topology and Transport RabbitMq](https://reader036.vdocument.in/reader036/viewer/2022071105/5fde9bda7e867c36f63083f9/html5/thumbnails/10.jpg)
@rolandguijt
Event Driven Architecture
![Page 11: Loosely Coupled Apps · •The Service Bus == MassTransit •Ethernet is an example of a bus, it’s everywhere! •Don’t confuse with ESB. @rolandguijt Topology and Transport RabbitMq](https://reader036.vdocument.in/reader036/viewer/2022071105/5fde9bda7e867c36f63083f9/html5/thumbnails/11.jpg)
@rolandguijt
The Big Shiny Thing
• The Service Bus == MassTransit
• Ethernet is an example of a bus, it’s everywhere!
• Don’t confuse with ESB
![Page 12: Loosely Coupled Apps · •The Service Bus == MassTransit •Ethernet is an example of a bus, it’s everywhere! •Don’t confuse with ESB. @rolandguijt Topology and Transport RabbitMq](https://reader036.vdocument.in/reader036/viewer/2022071105/5fde9bda7e867c36f63083f9/html5/thumbnails/12.jpg)
@rolandguijt
Topology and Transport
RabbitMq
Bus
QueueExchange
![Page 13: Loosely Coupled Apps · •The Service Bus == MassTransit •Ethernet is an example of a bus, it’s everywhere! •Don’t confuse with ESB. @rolandguijt Topology and Transport RabbitMq](https://reader036.vdocument.in/reader036/viewer/2022071105/5fde9bda7e867c36f63083f9/html5/thumbnails/13.jpg)
@rolandguijt
Micro Services
• Components as a service
• Loosely coupled via the service bus
• Autonomous == no dependencies, only share contracts
• Organizational benefits
![Page 14: Loosely Coupled Apps · •The Service Bus == MassTransit •Ethernet is an example of a bus, it’s everywhere! •Don’t confuse with ESB. @rolandguijt Topology and Transport RabbitMq](https://reader036.vdocument.in/reader036/viewer/2022071105/5fde9bda7e867c36f63083f9/html5/thumbnails/14.jpg)
@rolandguijt
Demo Time
![Page 15: Loosely Coupled Apps · •The Service Bus == MassTransit •Ethernet is an example of a bus, it’s everywhere! •Don’t confuse with ESB. @rolandguijt Topology and Transport RabbitMq](https://reader036.vdocument.in/reader036/viewer/2022071105/5fde9bda7e867c36f63083f9/html5/thumbnails/15.jpg)
@rolandguijt
Sagas
Create
Approve
Pick
Completed
IOrder
IOrderApproved
IApproveOrderCreate
Approve
Pick
Completed
![Page 16: Loosely Coupled Apps · •The Service Bus == MassTransit •Ethernet is an example of a bus, it’s everywhere! •Don’t confuse with ESB. @rolandguijt Topology and Transport RabbitMq](https://reader036.vdocument.in/reader036/viewer/2022071105/5fde9bda7e867c36f63083f9/html5/thumbnails/16.jpg)
@rolandguijt
Demo Time