List the design patterns used by RabbitMQ?

devquora
devquora

Posted On: Mar 21, 2020

 

Some of the architectural patterns used by the RabbitMQ are,

One-Message-to-One-Consumer Model

This model is used to deliver each task to exactly one worker. The exchange types of this pattern are,

  • Round-Robin - In this patter, the RabbitMQ dispatches each message to the next consumer in the sequence.
  • Next Available Worker - In this type, the RabbitMQ won’t give more than one message to a worker at a time.

One-Message-to-Multiple-Consumers Model

In this model, one message is dispatched to multiple consumers. Some exchange types of this pattern are,

  • Publish/Subscribe - In this patter, a producer sends a message to a set of subscribed consumers.

    Related Questions

    Please Login or Register to leave a response.

    Related Questions

    Rabbitmq Interview Questions

    Explain what is Rabbitmq?

    RabbitMq is an open-source message-broker software developed by Pivotal software. This cross-platform message-oriented middleware software was originally implemented in Advanced Message Queuing Protoc...

    Rabbitmq Interview Questions

    Enlist major features RabbitMQ?

    Some of the major features of RabbitMQ are,RabbitMQ supports Asynchronous messaging with multiple messaging protocols, multiple exchange types, flexible routing, message queuing, and delivery ack...

    Rabbitmq Interview Questions

    Enlist types of exchanges available in RabbitMQ?

    There are four types of exchanges available in RabbitMQ. They are Direct Exchanges - This type route the messages with a routing key equal to the routing key declared by the binding queue. Fanout E...