MENU

Fun & Interesting

RabbitMQ- Tutorial 8b - Competing Consumers C# Implementation

jumpstartCS 12,216 3 years ago
Video Not Working? Fix It Now

In this video we are going to take a look at implementing the competing consumer pattern using C#. We will use the official .Net RabbitMQ client library to implement a producer and consumers for the pattern. The competing consumers or work queue pattern is a simple but effective way to spread the consumption of messages across a number of different services. Its widely used in many scenarios where we want to consume messages that might take a non trivial time to correctly process but we want to do this in a scale-able and reliable manner. --------------------------------------------------------------------------------------------------------------------------- Link to github sample code: https://github.com/delaneybrian/jumpstartCS-rabbitmq-csharp/tree/master/2-Competing-Consumers --------------------------------------------------------------------------------------------------------------------------- RabbitMQ is the most widely deployed open source message broker. A message broker is an intermediary computer program module that translates a message from the formal messaging protocol of the sender to the formal messaging protocol of the receiver. Using RabbitMQ allows us to create a highly decoupled micro services system easily. It can be deployed on many clouds as well as on premise. It comes with many interesting features and is even extendable by the use of plugins. --------------------------------------------------------------------------------------------------------------------------- Check out our Azure Service Fabric Tutorial for developing highly reliable distributed applications: https://www.youtube.com/playlist?list=PLalrWAGybpB_dBdtvLXUjOFp78X97lren Check out our Cassandra Tutorial for a distributed and highly available solution for your applications: https://www.youtube.com/playlist?list=PLalrWAGybpB-L1PGA-NfFu2uiWHEsdscD

Comment