loosely coupled apps · •the service bus == masstransit •ethernet is an example of a bus,...

Post on 28-Aug-2020

4 Views

Category:

Documents

0 Downloads

Preview:

Click to see full reader

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

top related