graphql-dotnet / graphql-dotnet/server

Does Subscriptions Have a Backplane to Support Multiple Servers

Open
#135 10 comments 0 reactions 0 assignees View on GitHub
discussion subscriptions
Dominant language
C#
Stars
604
Forks
166
PR merge metrics
No merged PRs in 30d

Description

I've tried subscriptions and it works in a single server scenario. How can I make it work when you have multiple load balanced servers? Signal-R uses a concept called a backplane which is basically a data store where a list of subscribers are stored.

Ideally there would be a simple interface I can implement to add, get or delete subscriptions. I could then implement the interface and store the subcriptions in Redis for example.

The closest thing I can find is the `ISubscriptionManager` but that seems to also mix the concepts of storing subscriptions and executing operations.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.