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

Can't connect to several nodes and/or in cluster mode #235

Closed
Millefeuille42 opened this issue Mar 4, 2024 · 1 comment
Closed

Can't connect to several nodes and/or in cluster mode #235

Millefeuille42 opened this issue Mar 4, 2024 · 1 comment

Comments

@Millefeuille42
Copy link
Contributor

I'm using Beaker via pyramid_beaker for Tracim, but I'm encountering issues connecting to Redis clusters. Specifically, I'm getting a redis.exceptions.ResponseError: MOVED error. This problem can be circumvented by using the RedisCluster class introduced in redis-py 4.1.0. Additionally, connecting to multiple nodes simultaneously isn't supported.

To address this, a possible solution would be to implement an ext:redis_cluster driver in Beaker that allows for multiple nodes in the URL parameter, such as "redis://node-1:6379/0,redis://node-2:6379/0".

  • Could it be that I'm misunderstanding Beaker's cluster support capabilities?
  • Do you have any information about a redis-cluster ready session backend ?
  • Alternatively, is it feasible for us to develop the ext:redis_cluster driver and submit it to Beaker via a pull request?
@amol-
Copy link
Collaborator

amol- commented Mar 20, 2024

Fixed by #236

@amol- amol- closed this as completed Mar 20, 2024
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