Skip to content

Latest commit

 

History

History
27 lines (24 loc) · 1.86 KB

README.md

File metadata and controls

27 lines (24 loc) · 1.86 KB

Parrot Build Status Go Report Card

parrot is a microservice based chat server for practice purpose, it's powered by github.com/micro/go-micro.

architecture

                                +------------+             +-----------------+
                HTTP +-------+  |            |             |                 |
              +------+       +->+Auth Web API+------------>+ Auth Service    |
              |      |       |  |            |       +----->                 |
              |      |       |  +------------+       |     +-----------------+
              |      |       |                       |
+-------------+      |Web GW |                       |
|             |      |       |  +--------------------+     +----------------+
|   browser   |      |       |  |                    +     |                |
|             |   WS |       |  |Chat Websocket server+---->Chat Service    |
+-------------+------+       +->+                    +     |                |
                     +-------+  +-------------------++     +-------+--------+
                                                    +Sub           +Pub
                                                    ↓              ↓
                                                +---+-----------------------------------+
                                                |                                       |
                                                | RabbitMQ (Topic Exchange)             |
                                                | For push message back to ws client    |
                                                +---------------------------------------+