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

Ensuring Atomicity and Scalability in Redis Backplane? #917

Open
locus84 opened this issue Feb 7, 2025 · 1 comment
Open

Ensuring Atomicity and Scalability in Redis Backplane? #917

locus84 opened this issue Feb 7, 2025 · 1 comment

Comments

@locus84
Copy link

locus84 commented Feb 7, 2025

How does Redis Backplane ensure the atomicity of room state?
It seems like there could be an issue where the group state becomes out of sync if, for example, saving the group state in Redis succeeds but publishing fails.
The only solutions I can think of are using a distributed lock or executing all redis commands at once with Lua.

Additionally, Redis Cluster supports sharding but stackexchange.redis does not support spublish/ssubscribe, scaling out seems difficult.
Do you have any other recommended approaches?(searched about kafka or evony proxy for redis)

@locus84
Copy link
Author

locus84 commented Feb 8, 2025

I see Nats jetstream can be viable solution and there's beta support for nats in multicaster package, fantastic!!

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