graphql-transport-ws
graphql-transport-ws copied to clipboard
Supporting multiple instances of WS servers
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.
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.