graphql-transport-ws icon indicating copy to clipboard operation
graphql-transport-ws copied to clipboard

Supporting multiple instances of WS servers

Open iamsaso opened this issue 6 years ago • 1 comments

The current implementation does not support running WS servers on multiple instances and the client will not receive the message if it's subscribed on a different instance.

A solution would be to implement Redis as a fanout backend to redistribute messages on other instances.

iamsaso avatar Nov 26 '18 22:11 iamsaso

That is correct and in order to achieve this some kind of pub/sub system is required (ideally the library should work with multiple pub/sub systems. PRs are more than welcome, though.

pavelnikolov avatar Apr 13 '21 06:04 pavelnikolov