Giter Club home page Giter Club logo

Comments (4)

levicook avatar levicook commented on July 28, 2024

Related points.

Do callers expect mget to return values in the same order the keys where in (with nils on misses)? My hack doesn't really worry about this, but it probably should....

(Update: the gist's mget response is congruent with the input keys now)

Do you think DistRedis#pipelined should be grouping commands by node too?

from redis-rb.

ezmobius avatar ezmobius commented on July 28, 2024

Yeah this is the hard part about using a hashing scheme to distribute requests. I think we can do a mget across nodes fairly easily but for pipelines I think we may need to disable them on DistRedis because otherwise we would have to pull apart the pipeline to try to regroup it based on the key, this way lies madness of a full blown redis parser or some other hackery.

But we should figure out or document how these things should work with DistRedis.

from redis-rb.

djanowski avatar djanowski commented on July 28, 2024

In current master, Redis::Distributed#pipelined is disabled: http://github.com/ezmobius/redis-rb/blob/master/lib/redis/distributed.rb#L420

from redis-rb.

djanowski avatar djanowski commented on July 28, 2024

We added support for more methods on Redis::Distributed as long as you're using key tags (so that we can ensure that the keys involved are in the same node). Would love to know what you guys think.

from redis-rb.

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.