Giter Club home page Giter Club logo

Comments (15)

hsinhoyeh avatar hsinhoyeh commented on July 20, 2024 1

@abronan I have created a short design doc in issue #116 , feel free to add comments. thanks

from libkv.

abronan avatar abronan commented on July 20, 2024

This can be definitely useful :)

The only issue I see so far with Redis is that it does not support Compare and Swap operations, so it would only implement a subset of the interface. Although we can probably mimic a CAS like operator with some other call of the cluster client.

I'm not against it if the lack of operation (if any) is properly handled in the lib.

@aluzzardi Thoughts?

from libkv.

aluzzardi avatar aluzzardi commented on July 20, 2024

I can see it being useful - although before jumping in I'd like to see at least a few people interested on it.

@runcom How about opening an issue on docker/swarm asking who'd be interested in a redis backend for discovery, leader election and storage?

My main concern is that, compared to the others, redis is not strongly persistent. We are going to use libkv to store persistant data: if redis gets restarted we'll lose data.

from libkv.

abronan avatar abronan commented on July 20, 2024

+1 πŸ‘

from libkv.

mavenugo avatar mavenugo commented on July 20, 2024

@aluzzardi @runcom @abronan actually we were also thinking of implementing an eventually consistent data-store backend (redis was my first choice). we can discuss further on this if interested.

from libkv.

runcom avatar runcom commented on July 20, 2024

@aluzzardi redis has an option to store on disk and many redis deployment use it (elasticache on aws for instance) so chances to restart and lose data are small (there aren't)
I'll open an issue in swarm and link here tho

from libkv.

rbishop avatar rbishop commented on July 20, 2024

I would like to see this as well!

from libkv.

vcastellm avatar vcastellm commented on July 20, 2024

πŸ‘ I'll use it, but not for swarm but for other project

from libkv.

abronan avatar abronan commented on July 20, 2024

@runcom Still interested in the Redis store implementation? πŸ˜ƒ I saw a few people interested so far.

from libkv.

runcom avatar runcom commented on July 20, 2024

@abronan sure, if there's no rush on this I'll work on it this weekend

from libkv.

abronan avatar abronan commented on July 20, 2024

Absolutely no rush, take the time needed and we'll review it when it's done if you are still interested in doing it. It is a nice added backend for libkv users though :)

from libkv.

hsinhoyeh avatar hsinhoyeh commented on July 20, 2024

hi,
I think this feature is quiet useful in many applications, do we have any progress update here?
If not, we can have a design doc first, then others, like me, can do the help.

from libkv.

allencloud avatar allencloud commented on July 20, 2024

@rbishop Great!
οΌ‹1

from libkv.

abronan avatar abronan commented on July 20, 2024

Hi @hsinhoyeh, no update so far, feel free to open a new issue with a proposal and you feel like tackling this integration :)

What's cool is that we have a test suite that could help validate the behavior of the store but redis wouldn't have to support all the calls I guess or maybe it can but we can discuss this during the design phase (for Locks and CAS and/or watches).

from libkv.

abronan avatar abronan commented on July 20, 2024

Closing in favor of #116

from libkv.

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.