Clivern / Beaver

💨 A real time messaging system to build a scalable in-app notifications, multiplayer games, chat apps in web and mobile apps.

Home Page:https://clivern.github.io/Beaver/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

HA Cluster!

Clivern opened this issue · comments

commented

Beaver nodes shall work as follow:

  • All beaver nodes connected to same Redis cluster.
  • Each Node join the cluster shares its info on Redis with other nodes.
  • Using shared info, All nodes should be able to load balance across multiple nodes.
  • All beaver nodes subscribe to a specific Redis Channel or RabbitMQ in order to get notified by all incoming messages, publish events and they will deliver these messages to their connected clients.
  • Clients are free to connect to any node without getting affected.
  • If node goes down, only connected clients are affected and connecting to a new node will fix the problem.