Support running multi-node
Part of #798
-
libcluster: automatically discover and connect to nodes -
Cachex: does not support changing num of nodes on the fly, available substitutions: - Nebulex: an existing solution, supports distributed cache/partitioning, requires wrapping to match Cachex api
- cache replication, manually: https://github.com/whitfin/cachex/issues/219
- redis
-
shoutbox: -
should just work (tm/mc) with Phoenix.Channel (see https://github.com/poeticoding/phoenix_chat_example ) -
messages does not propagate if a new node joins later
-
-
Config/Emoji/...: need to propagate from and to nodes (we can do Phoenix.PubSub ) -
Endpoint: should just work - how to determine load balancing heuristics? -
Oban: ? -
Streamer: need to broadcast to all nodes (mastodon uses redis to push statuses to streamer services, we can use pubsub too) - more?
Edited by tusooa