#key-value-store #etcd #storage #client #tree #further #grpc-protobuffs

bin+lib galadh

Simple key-value storage inspired by etcd

2 releases

0.1.3 Mar 24, 2022
0.1.2 Mar 23, 2022
0.1.1 Mar 23, 2022
0.1.0 Mar 22, 2022

#5 in #further

Apache-2.0

90KB
2K SLoC

galadh key-value storage

Github repo

galadh (sindar word for tree) is a key-value storage inspired by etcd.

It was initially supposed to operate like single-instance etcd and be fully compatible with etcdctl utility.

It's based on simplified etcd's grpc-protobuffs (further rework needed). Project goal is educational. Current state is early alpha.

It comes with two binaries: gldh is a server and gldh-cli is a client

How-to

# run server
$ gldh
# use client in another terminal
$ gldh-cli put key value
$ gldh-cli get key
key
value

TODO (server)

  • get/put
  • delete
  • snapshots and restoring from snapshot
  • running params
  • replace prefix tree dep or implement an own one
  • watchers
  • leases
  • transactions
  • tests
  • docs
  • cluster
  • ???

TODO (client)

  • get (partially)
  • put
  • connection params
  • delete
  • watch
  • transactions
  • ???

Dependencies

~11–22MB
~292K SLoC