Coder Social home page Coder Social logo

Issues with Redis Cluster about redbeat HOT 6 CLOSED

sibson avatar sibson commented on May 28, 2024
Issues with Redis Cluster

from redbeat.

Comments (6)

concreted avatar concreted commented on May 28, 2024

According to https://redis.io/topics/cluster-spec,

Redis Cluster does not support multiple databases like the stand alone version of Redis. There is just database 0 and the SELECT command is not allowed.

so that explains why SELECT is not allowed in cluster mode happens.

@sibson Do you have any insight on the MOVED 8184 errors? Based on some info I found when Googling around it seems like whatever redis client is used has to know how to handle the redirect. I don't see anything about clustering in the pypi redis package docs though, it might not be able to handle this? I did find this package: https://github.com/Grokzen/redis-py-cluster

from redbeat.

sibson avatar sibson commented on May 28, 2024

I've never tried using redis cluster. It looks like you are on the right track and a cluster aware client is required. I'm open to redbeat being made compatible with alternate redis client libraries.

from redbeat.

concreted avatar concreted commented on May 28, 2024

Thanks, I'm planning to investigate adding a client that will allow cluster compatibility.

from redbeat.

sibson avatar sibson commented on May 28, 2024

I believe this to be fixed by #64

from redbeat.

marvelph avatar marvelph commented on May 28, 2024

@sibson

Redis Cluster and Redis Sentonel are different solutions.
RedBeat now supports Redis Sentonel, but it does not seem to support Redis Cluster.
However, the HA configuration supported by Redis in AWS ElasticCache is Redis Cluster.
Please consider additional support for Redis Cluster.

from redbeat.

marvelph avatar marvelph commented on May 28, 2024

@sibson

I'm sorry.
I read the source code of RedBeat and found the corresponding code for Radis Cluster.
I guess it works if you specify redis-cluster as the schema in the URL and specify startup_nodes as an option.
The documentation doesn't mention it, so I misunderstood.

from redbeat.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.