Skip to Main Content
Hands-On Microservices with C#
book

Hands-On Microservices with C#

by Matt Cole
June 2018
Intermediate to advanced content levelIntermediate to advanced
254 pages
6h 9m
English
Packt Publishing
Content preview from Hands-On Microservices with C#

Producer consumer queue

Let's start by taking the simplest of all possible scenarios. We have a single producer, which sends one or more messages (each message is one red block) to a single consumer, such as in the following:

Our next step up the difficulty ladder would be to have a single producer publish one or more messages to multiple consumers, such as in the following diagram. This is distributing tasks (work) among different workers, also sometimes referred to as the competing consumers pattern. This means that each consumer will take one or more messages. Depending upon how the message queues are set up, the consumers may each receive ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Building Microservices with ASP.NET Core

Building Microservices with ASP.NET Core

Kevin Hoffman
.NET Core Microservices

.NET Core Microservices

Piotr Gankiewicz
Microservices .NET Core Masterclass

Microservices .NET Core Masterclass

Piotr Gankiewicz, Dariusz Pawlukiewicz
Enterprise Application Architecture with .NET Core

Enterprise Application Architecture with .NET Core

Ganesan Senthilvel, Ovais Mehboob Ahmed Khan, Habib Qureshi

Publisher Resources

ISBN: 9781789533682Supplemental Content