Lightweight In-Memory Message Bus Using .NET Channels

Lightweight In-Memory Message Bus Using .NET Channels

15.577 Lượt nghe
Lightweight In-Memory Message Bus Using .NET Channels
☄️ Master the Modular Monolith Architecture: https://bit.ly/3SXlzSt 📌 Accelerate your Clean Architecture skills: https://bit.ly/3PupkOJ 🚀 Support me on Patreon to access the source code: https://www.patreon.com/milanjovanovic Suppose you're building a modular monolith, a type of software architecture where different components are organized into loosely coupled modules. Or you might need to process data asynchronously. You'll need a tool or service that allows you to implement this. Messaging plays a crucial role in modern software architecture, enabling communication and coordination between loosely coupled components. An in-memory message bus is particularly useful when high performance and low latency are critical requirements. In this video, I'll show you how to implement an in-memory message bus using .NET channels. Lightweight In-Memory Message Bus Using .NET Channels https://www.milanjovanovic.tech/blog/lightweight-in-memory-message-bus-using-dotnet-channels Check out my courses: https://bit.ly/3PupkOJ Join my weekly .NET newsletter: https://www.milanjovanovic.tech Read my Blog here: https://www.milanjovanovic.tech/blog Chapters 0:00 Publishing Integration Events using MediatR 1:52 Why MediatR isn't really "asynchronous" 4:00 Creating an Event Bus abstraction 6:08 Implementing the Event Bus using Channels 11:09 Publishing Integration Events using Channels