0% found this document useful (0 votes)
30 views

Token Exchange

This document discusses scaling applications with microservices, MassTransit, and RabbitMQ. It provides an overview of modules about building distributed systems using microservices that communicate through message brokers. Microservices allow for separation of concerns and integration by third parties. MassTransit and RabbitMQ can be used to implement messaging patterns like point-to-point, RPC, and event broadcasting between microservices.

Uploaded by

Phuc Vinh
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
30 views

Token Exchange

This document discusses scaling applications with microservices, MassTransit, and RabbitMQ. It provides an overview of modules about building distributed systems using microservices that communicate through message brokers. Microservices allow for separation of concerns and integration by third parties. MassTransit and RabbitMQ can be used to implement messaging patterns like point-to-point, RPC, and event broadcasting between microservices.

Uploaded by

Phuc Vinh
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 25

Scaling Applications with

Microservices, MassTransit,
and RabbitMQ
UNDERSTANDING MESSAGING ARCHITECTURE

Roland Guijt
INDEPENDENT SOFTWARE DEVELOPER AND TRAINER

@rolandguijt www.rmgsolutions.nl
About This Course

5 modules Prerequisites: Fire On Wheels


.NET/C# demos
Module
Overview Distributed Systems
Microservices
Message Fundamentals
Scenarios
This course is
about building
distributed systems.
A Distributed System

Application

Application

Application
A Distributed System

Service

Service

Service
Why a One big application is not an option

Distributed Separation of concerns


System? Integration by third-parties
A Distributed System

Order
registration UI

Notification
service

Registration
service
RPC
Remote Procedure Call

Communication SOAP
Between Simple Object Access Protocol

REST
Services Representational State Transfer

Messaging
Messaging

Service Service Service

Message Broker
Messaging Patterns: Point-To-Point

Service Service
RegisterOrder
Command
Messaging Patterns: RPC

Service Service
Messaging Patterns: Event Broadcasting

Service

Service Service

Service
Message Brokers and MSMQ

Message broker MSMQ

Centralized Decentralized
Multi platform Windows only
Standardized No standard
Scale with clustering Scales automatically
Supported by MassTransit Supported by NServiceBus
A software archtectural style
Composed of small, highly decoupled
independent processes
Microservices Communicate with each other using
language-agnostic APIs
Each process focusses on doing one
small task
Each individual
microservice
is autonomous
Microservices and Data

Order
Received
Date Registration
Name
Address
Order
Price
Finance Invoice
Order
date
Dispatch
date
Address Dispatch
Weight
Track no
Scaling Applications with
Microservices
and NServiceBus

Module 1
Package delivery Scaling

Continuous deployment Multiple teams


Package delivery Scaling

Reliable
Continuous deployment
Messages as Interfaces
Shared assembly

IRegisterOrder IOrderRegistered

Order registration service Notification service

RegisterOrder: IRegisterOrder OrderRegistered: IOrderRegistered

OrderRegistered: IOrderRegistered
Fire On Wheels POC

Registration
web ui

Registration
service

Customer
notification
Messaging Scenarios

Simplifying
Integrating legacy Powering
complex
applications dashboard apps
monoliths
Summary Distributed systems
Message broker
Microservices
Setting up
Messaging scenarios

You might also like