Git Product home page Git Product logo

Comments (7)

shumkov avatar shumkov commented on September 26, 2024

Hi. What version of Redis you are use? I can't repoduce this bug. If no one keys is matched Redis reply is $0.

from rediska.

grenzr avatar grenzr commented on September 26, 2024

Hi again - my apologies, I am using redis 1.3.4 cloned/compiled from github 2 days ago. I guess I thought the implementation of already added commands wouldn't change that much but it seems that the results haven't, but the output responses have.

For clarity, the response I get from the server is *0 currently on redis v1.3.4.

Maybe I should revert to a released version of redis for now, however it does raise the question about whether its a good idea for redis clients to support different commands implementations depending on which version of redis you are connected to (this is found with INFO command).

Thanks,

Ryan

from rediska.

shumkov avatar shumkov commented on September 26, 2024

It's a good idea by very much of work :), and INFO on every connection is overhead as im think. I will be very happy, if you wanna realase this feature.

from rediska.

grenzr avatar grenzr commented on September 26, 2024

Confirmed - i installed redis 1.2.5 and this 'issue' is no longer a problem.

I agree doing INFO on every connection is an overhead, and not a good idea. Perhaps then it could be a configuration variable when you instantiate Rediska?

However, I agree it would probably be quite a lot of work to add into a single Rediska release. Maybe it would benefit everyone if Rediska was branched when a new major version of Redis came out?
That way it will make it easier for a developer to know which Rediska will work with which Redis - as the right commands/responses will apply to that client/server version.

What do you think?

Thanks,

Ryan

from rediska.

shumkov avatar shumkov commented on September 26, 2024

Branches is not a good idea too. Becouse if you have fix for all versions of Redis you need fix in all branches it will be a nightmare %).

I think good idea implement dependenses of commands and redis server versions in Rediska.

from rediska.

shumkov avatar shumkov commented on September 26, 2024

Now for you application with Redis 1.3.4 you may overwrite any commands with methods Rediska::addCommand and Rediska::removeCommand

from rediska.

shumkov avatar shumkov commented on September 26, 2024

And Rediska has own issue tracker http://bugs.geometria-lab.net/projects/rediska/issues %)

from rediska.

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.