Cannot use websocket streaming with multiple instances
I want to invest Pleroma server on multiple instances. But it seems that websocket streaming can not scale out. Please let me know if you know the solution.
I already tried to use redis for
Phoenix.PubSub: https://github.com/phoenixframework/phoenix_pubsub_redis .
This method is for
Phoenix.Channel, but now Pleroma does not use
Phoenix.Channel for websocket streaming. It uses Cowboy handler. It was implemented in !560 (diffs). And I read a related issue: #451 (closed) . But I don't know why you don't use
Does this problem solve if upgrade to Phoenix 1.5? Or do you know how to scale out
On one hand, chat is using
Phoenix.Channel so it can scale out.