Comments (15)
@abronan I have created a short design doc in issue #116 , feel free to add comments. thanks
from libkv.
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.
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.
+1 π
from libkv.
@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.
@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.
I would like to see this as well!
from libkv.
π I'll use it, but not for swarm but for other project
from libkv.
@runcom Still interested in the Redis store implementation? π I saw a few people interested so far.
from libkv.
@abronan sure, if there's no rush on this I'll work on it this weekend
from libkv.
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.
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.
@rbishop GreatοΌ
οΌ1
from libkv.
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.
Closing in favor of #116
from libkv.
Related Issues (20)
- do libkv support etcd v3? HOT 1
- bug in WatchTree for etcd
- Add function to list all the key-values in the boltdb store HOT 1
- add option to disable quorum for gets with etcd backend HOT 1
- Lock() of Locker interface should probably take a receive-only channel
- In etcd at least, waitLock() ignores an action HOT 1
- A race is possible in etcd's Lock() HOT 1
- Implement a Kubernetes driver
- Panic in older versions of consul
- Active again? HOT 2
- Optionally disable ZooKeeper logging
- Inconsistent reference to license for docs
- When multiple etcd stores are passed to the API. Which one is given preference? HOT 1
- can not get zookeeper path data, node cannot be discovery.
- panic in List() method with boltdb backend
- zookeeper GetW function seems has a atomic error
- possible data race in AddStore()
- implemented a etcd v3 api store HOT 1
- Travis-ci: AMD64 build is failing HOT 1
- Valkeyrie: a maintained fork created by the original author of libkv HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libkv.