Loosely Coupled Apps - SDD Conferencesddconf.com/brands/sdd/library/MassTransit.pdfRabbitMq Bus...

Post on 12-Jul-2020

3 views 0 download

transcript

Scaling ApplicationsWith Microservices using MassTransit and RabbitMq

@rolandguijt

Roland Guijt

@rolandguijt

Agenda

@rolandguijt

Let’s Do This?

Graph by Martin Fowler

@rolandguijt

Vertical Coupling

Application

Component

Layer

Class

@rolandguijt

Horizontal Coupling

@rolandguijt

Problems

@rolandguijt

SOA

Web

Service

@rolandguijt

SOA

@rolandguijt

Event Driven Architecture

@rolandguijt

The Big Shiny Thing

• The Service Bus == MassTransit

• Ethernet is an example of a bus, it’s everywhere!

• Don’t confuse with ESB

@rolandguijt

Topology and Transport

RabbitMq

Bus

QueueExchange

@rolandguijt

Micro Services

• Components as a service

• Loosely coupled via the service bus

• Autonomous == no dependencies, only share contracts

• Organizational benefits

@rolandguijt

Demo Time

@rolandguijt

Sagas

Create

Approve

Pick

Completed

IOrder

IOrderApproved

IApproveOrderCreate

Approve

Pick

Completed

@rolandguijt

Demo Time

@rolandguijt

Thank You

Contact me!

Roland Guijt

@rolandguijt

roland.guijt@gmail.com

www.rmgsolutions.nl