jackyfkc.github.io

教土豆学计算机

RabbitMQ

RabbitMQ is a messaging broker. It gives your application a common platform to send and receive messages.

Overall AMQ model


                                    Server
                        +----------------------------+
                        |        Virtual host        |
                        |    +-------------------+   |
                        |    |      Exchange     |   |
   +-------------+      |    |      +-------+    |   |
   | Publisher   |    ---------->   |       |    |   |
   | application |      |    |      +---+---+    |   |
   +-------------+      |    |          |        |   |
                        |    |       Message     |   |
                        |    |        Queue      |   |
   +-------------+      |    |      +-------+    |   |
   |  Consumer   |   <-----------   +-------+    |   |
   | application |      |    |      +-------+    |   |
   +-------------+      |    |      +-------+    |   |
                        |    +-------------------+   |
                        +----------------------------+



Further Readings