Hi all, i need some opinion about an elixir_phoenix setup to be running on kubernetes
im planning to build a generic websocket server(phx_socket) for a website we have developed, backend is written in NodeJS
the websocket server will be mainly used to send events like a updates about user and also soon to be used with our generative AI chats(with chatgpt), its a general server so im expecting many nice usecases
my main concern is this
we can have multiple pods running of WS server in the k8s cluster, with sticky sessions(nginx-ingress) the websocket request will try reach the same pod
but on the backend side, we need to publish these messages from other services(nodejs) to the websocket services, since there are many running pods and user can be connected to one or many(multiple tabs etc) im thinking to use a message bus like redis or RMQ to propagate messages to all pods running the websocket service, instead of directly connecting to the service
is this a good idea? anyway we can avoid a message bus?