hongnguyenhuu96 / rabbitmq

explain rabbitmq code example

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

rabbitmq

Run: $ docker run -d --hostname my-rabbit --name some-rabbit -p 5672:5672 rabbitmq

Hello world

1_helloworld 1

Work queue (load balancing task for comsumer using 1 queue)

2_workqueue 2

Public/subscribe (fanout to message to all consumer)

3_fanout 3

Routing (direct - key mapping (chanel procuder and chanel comsumer share the same key to communicate) )

4_routing 4

Topics (topic - key mapping (key producer chanel: ..rabbit, lazy.#), key consumer: speed.white.rabbit, lazy.man))

5_topics 5

Remote procedure call (RPC) (Multi servers serve one client)

6_RPC 6

About

explain rabbitmq code example


Languages

Language:JavaScript 100.0%