Thanks for the post. How would this work across multiple servers (horizontal scaling)?
Eliezer Steinbock
1

That’s a great question! If you have multiple servers, you would just use a different pub/sub system that works across them (such as Apache Kafka) and use that distributed topic to resolve the subscription request. Also, there are graphql-subscriptions-redis and graphql-subscriptions-mqtt packages built by a contributor for exactly this reason.

Show your support

Clapping shows how much you appreciated Shadaj Laddad’s story.