Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scaling redis pubsub over multiple instance of application. #376

Open
saurav-bhagat opened this issue May 21, 2021 · 0 comments
Open

Scaling redis pubsub over multiple instance of application. #376

saurav-bhagat opened this issue May 21, 2021 · 0 comments

Comments

@saurav-bhagat
Copy link

Hi, I have a situation in which there will be multiple instances of my graphql subscription server running. Data is coming over from a different data source let's say, Kafka. As soon as data reaches my server, I'll publish it to Redis pubsub.

  1. So, if there are multiple clients connecting to different pods/instances of my server application. Will this ensures that all the instances will get the same data as soon as we publish something to Redis over the same topic?
    (I'm in doubt here because there'll be new instance of RedisPubSub in each of the pod)

  2. Also, if suppose one of the pod goes down and the client reconnects, by that time client might loose some data, how can I prevent this data loss in this case?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant