Wednesday 16 September 2015

Rabbit MQ

RabbitMQ is a message broker, it accept messages from producers and deliver them to consumers. RabbitMQ implements AMQP (Advanced Message Queuing Protocol), which is an open, general-purpose protocol for messaging. AMQP is a messaging protocol that enables conforming client applications to communicate with conforming messaging middleware brokers.

Terminology
Message Broker: Messaging brokers receive messages from publishers and route them to consumers.

Exchange: Messages are published to exchanges. Exchanges distribute message copies to queues using rules called bindings.

Producer: Program that sends messages is called a producer.

Queue: Whatever the messages sent by producers to RabbitMQ are stored in queues. Theoretically queue is infinite size buffer, producers can send as many messages as they want. Many producers can send messages that go to one queue. Many consumers can try to receive data from one queue.

Consumer: It is a program that receives messages from queue and processes them.


In typical development environment producer, consumer, rabbitMQ reside in different machines.



Prevoius                                                 Next                                                 Home

No comments:

Post a Comment