Coder Social home page Coder Social logo

Comments (2)

ryanlecompte avatar ryanlecompte commented on August 19, 2024

I haven't added support for Redis databases because it's actually a discouraged feature by the Redis maintainers. They even mention that it will eventually be dropped in a future release. They recommend sharding your data by having separate Redis server/instances (so instead of having one Redis server with 3 databases, have 3 separate servers with a specific data type stored in each).

I'll see if I can add support for specifying databases in RedisFailover::Client this weekend though, along with support for multiple Node Manager daemons. :-)

from redis_failover.

ryanlecompte avatar ryanlecompte commented on August 19, 2024

I just added support in master for specifying the :db option. Note that it will be used for all underlying redis clients that a single RedisFailover::Client uses (master and slaves). So, if you need to use a different db, you'll need to use different RedisFailover::Client instances with a different :db option specified for each. This assumes that all redis servers have the same db's (i..e, all master/slaves have db 0, db 1 .. db N.)

from redis_failover.

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.