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

Is this client working with Redis standalone? #68

Open
goldyfruit opened this issue Mar 15, 2023 · 1 comment
Open

Is this client working with Redis standalone? #68

goldyfruit opened this issue Mar 15, 2023 · 1 comment

Comments

@goldyfruit
Copy link

Hi,

I would like to know if this client is only working with Redis Cluster or if it is working as well with a Redis standalone instance?

I know https://github.com/Nordix/eredis is existing but we were wondering if we have to support both clients or just have eredis_cluster handling both use cases.

Thanks.

@zuiderkwast
Copy link
Collaborator

Hi!

I believe there is some code for this, yes. If CLUSTER SLOTS fails, there is a fallback to standalone mode. However, there is a lot of overhead compared to using a simple eredis connection.

Btw, in case you're trying out different solutions, we are now actively working on another more efficient cluster client: https://github.com/Ericsson/ered

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

2 participants