Distributed KV store with compute/storage separation: Multi-Raft + RocksDB + gRPC (C++ Meta/Storage/Gateway). Keys live in ordered Range Regions; default replication factor 3.
License: Apache License 2.0 · Copyright 2026 devotionalist (see NOTICE)
Official SDK is Go only, in a separate repository (Gateway gRPC :19000):
| Language | Repository | Package |
|---|---|---|
| Go | openkv-client-go | github.com/devotionalist/openkv-client-go |
go get github.com/devotionalist/openkv-client-go@latestAPI surface (v0.1): Dial · Get · Put/PutTTL · PutCAS · Delete/DeleteCAS · RawGet/RawPut/RawDelete · BatchGet/BatchPut · Scan/ListPrefix · TTL/Expire/Persist · DS (Hash/Set/List/ZSet).
Design notes: docs/flows/15-multi-client-sdk.md.
This repo’s
client/gois in-tree tools only (examples / e2e / Meta·Storage stubs). Applications must use openkv-client-go.
openkv-client-go / skv
│ gRPC :19000
▼
Compute Gateway (C++ gateway_node) ←── MetaService gRPC ──→ Meta Raft ×3 (:8500–8502)
│ Store / Admin gRPC
▼
Storage ×N (:9100…) · per-Region Raft (RF=3) · RocksDB
│ RaftService gRPC (peers)
└──────────► other Storage
After make admin-run, open http://127.0.0.1:19100 for the live console. See Architecture and User guide.
| Language | Entry |
|---|---|
| English (default) | docs/en/ |
| 中文 | docs/zh/ |
| Doc | English | 中文 |
|---|---|---|
| Quick start | quickstart | 中文索引 |
| User guide | user-guide | USER_GUIDE |
| Networking | networking | NETWORKING |
| Architecture | architecture | ARCHITECTURE |
| Clients | 15-multi-client-sdk | same |
| Version CAS / TTL | 13 · 14 | same |
| Scan / ListPrefix | 16 | same |
| Contributing | contributing | 中文 |
| Ops / SOP / flows | — | ops · flows |
| Tests | — | TEST_CASES |
make # configure + build + unit tests
make e2e # build → start cluster → Go client → stopcmake --build build -j --target skv
./build/tools/skv start --fresh
./build/tools/skv put hello world
./build/tools/skv get hello
./build/tools/skv stopmake cluster-up # gateway :19000
make admin-run # http://127.0.0.1:19100
make cluster-downgRPC C++ is required. Details: Networking.
- Range Region sharding with Multi-Raft (default RF=3)
- Stateless C++ Gateway + C++ Meta (Raft×3) / Storage (RocksDB)
- Single-key version CAS and KV TTL
- Official Go client in sibling repo
openkv-client-go - Online split / merge / place / scale-out SOPs
- Web console (
:19100) andskvops CLI - Helm charts under
deploy/helm/ - Apache-2.0
make
make e2e
# see docs/test/TEST_CASES.md and docs/test/INTEGRATION_TEST.mdproto/ gRPC definitions (authoritative IDL for clients)
common/ config, Region, logging
raft/ Multi-Raft + GrpcRaftTransport
storage/ RocksDB + Storage node (gRPC)
meta/ cluster state + scaler (gRPC)
compute/ C++ Gateway (gateway_node)
client/go/ in-tree Go tools (examples/e2e) — SDK → openkv-client-go
tools/skv/ ops CLI
web/ admin console
docs/ documentation (en + zh)
deploy/ Docker / Helm
conf/ local configs
Sibling client repo (not in this tree): openkv-client-go.
Licensed under the Apache License 2.0. Full text: LICENSE; attribution: NOTICE.
基于 Multi-Raft + RocksDB + gRPC 的存算分离分布式 KV(C++ Meta/Storage/Gateway)。分片为 Range Region,默认副本因子 3。
官方 SDK 仅 Go:openkv-client-go。
说明:docs/flows/15-multi-client-sdk.md
make && make e2e
# Gateway :19000 · 管控台 http://127.0.0.1:19100 · Meta :8500–8502完整中文文档见 docs/zh/。
