Giter Club home page Giter Club logo

Comments (3)

abronan avatar abronan commented on August 21, 2024

Hi @colebrumley, thanks for reporting the issue and testing out the lib. Much appreciated. There are still inconsistencies, as of now we lag behind the least exhaustive client and API which is etcd. It's usable as long as you don't go past the limits of the least exhaustive client/API (key/value space format).

boltDB is a special case and we would like to split KVs between local and global scopes. boltDB would go along a levelDB/RocksDB driver for example.

Luckily etcd APIv3 will fix all those issues (see the etcd APIv3 rfc). Amongst the changes that would allow for a better abstraction are:

  • Binary keys and values
  • Removing the directory/key distinction (goes along with the first point)

We can fix it now in libkv (I can fix the directory/key distinction by doing _really_dirty_things_™) but the code is non trivial to achieve something that should be there by default.

from libkv.

colebrumley avatar colebrumley commented on August 21, 2024

Thanks @abronan, that's seems perfectly cromulent to me. In terms of the general approach going forward, is libkv going to stick with the least exhaustive model, or will there eventually be a minimal feature set required of backend drivers?

Feel free to close this issue if you'd like, thanks for the answers!

from libkv.

abronan avatar abronan commented on August 21, 2024

I think that once we get those subtleties fixed, the classic trio (consul/etcd/zookeeper) is going to be very similar in terms of features without all the convoluted workarounds to make it work. There is a chance to achieve a good abstraction set for those three.

For the rest and if we add more backends, the possibility to vendor stores independently will allow you to choose which set of backends makes the more sense to support based on their features and call supported. I'll make sure I add a compatibility matrix to make this choice more obvious in the future and when I'm going to tag a first release very soon.

Closing this one, feel free to open another issue if you have any more question! Thanks! :)

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.