parrot is a microservice based chat server for practice purpose, it's powered by github.com/micro/go-micro.
+------------+ +-----------------+
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 |
+---------------------------------------+