Skip to content

gh-efforts/kdb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kdb

Lint Code Base

Distributed key-value Store Abstraction Library written in Go.

Inspired by streamingfast/kvdb, used by BitRainforest.

Stage: Alpha

Usage

example

Backends

badger

  • dsn: badger:///Users/john/kdb/badger-db.db?compression=zstd
  • compression: snappy, zstd, none
  • example: store/badger/dsn_test.go

etcd

  • dns: etcd://username:password@localhost:2379,localhost:2380?compression=zstd&threshold=64
  • compression: zstd, none
  • threshold: compression threshold in bytes
  • example: store/etcd/dsn_test.go

redis

  • dsn: redis://username:password@localhost:6379/1?timeout=5s&compression=zstd&threshold=64
  • compression: zstd, none
  • threshold: compression threshold in bytes
  • example: store/redis/dsn_test.go, Redis-URI

Tests

go test ./...

About

Distributed Key/Value Store Abstraction Library written in Go.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages