Skip to content
/ kv-utils Public

Abstracted helper classes providing consistent key-value store functionality, with zookeeper and etcd3 implementations

License

Notifications You must be signed in to change notification settings

IBM/kv-utils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kv-utils

Abstracted helper classes providing consistent key-value store functionality, with zookeeper and etcd3 implementations.

  • KVTable - A consistent key-value cache which is automatically kept in sync with a centralized KV store such as etcd or zookeeper.
  • DynamicConfig - Simple read-only string config map automatically kept in sync with a shared table of configuration which allows listeners to react to config changes.
  • SharedCounter - A basic distributed atomic counter.
  • LeaderElection - Leader election, with an observer mode and ability to listen for leadership changes.
  • Distributor - Rendezvous hashing implementation for group of members, which implements IntPredicate.
  • SessionNode - A singleton value whose existence is linked to the kv store client's session.

It is recommended to instantiate any/all of these classes via a KVUtilsFactory.

History

Though not reflected in the commit history of this repository, this library was originally developed and used internally by IBM in early 2017, with most development done in 2017-2018. A decision was made to contribute it to open source in 2021.

About

Abstracted helper classes providing consistent key-value store functionality, with zookeeper and etcd3 implementations

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages