{"by":"whispem","descendants":38,"id":46867947,"kids":[46873029,46870374,46870808,46870692,46870161,46870317,46870488],"score":71,"text":"Hi HN,<p>I&#x27;m Emilie, I have a literature background (which explains the well-written documentation!) and I&#x27;ve been learning Rust and distributed systems by building minikv over the past few months. \nIt recently got featured in Programmez! magazine: <a href=\"https:&#x2F;&#x2F;www.programmez.com&#x2F;actualites&#x2F;minikv-un-key-value-store-distribue-en-rust-construit-en-public-38861\" rel=\"nofollow\">https:&#x2F;&#x2F;www.programmez.com&#x2F;actualites&#x2F;minikv-un-key-value-st...</a><p>minikv is an open-source, distributed storage engine built for learning, experimentation, and self-hosted setups. \nIt combines a strongly-consistent key-value database (Raft), S3-compatible object storage, and basic multi-tenancy.<p>Features&#x2F;highlights:<p>- Raft consensus with automatic failover and sharding\n- S3-compatible HTTP API (plus REST&#x2F;gRPC APIs)\n- Pluggable storage backends: in-memory, RocksDB, Sled\n- Multi-tenant: per-tenant namespaces, role-based access, quotas, and audit\n- Metrics (Prometheus), TLS, JWT-based API keys\n- Easy to deploy (single binary, works with Docker&#x2F;Kubernetes)<p>Quick demo (single node):<p>```bash\ngit clone <a href=\"https:&#x2F;&#x2F;github.com&#x2F;whispem&#x2F;minikv.git\" rel=\"nofollow\">https:&#x2F;&#x2F;github.com&#x2F;whispem&#x2F;minikv.git</a>\ncd minikv\ncargo run --release -- --config config.example.toml\ncurl localhost:8080&#x2F;health&#x2F;ready<p># S3 upload + read\ncurl -X PUT localhost:8080&#x2F;s3&#x2F;mybucket&#x2F;hello -d &quot;hi HN&quot;\ncurl localhost:8080&#x2F;s3&#x2F;mybucket&#x2F;hello<p>Docs, cluster setup, and architecture details are in the repo. \nI’d love to hear feedback, questions, ideas, or your stories running distributed infra in Rust!<p>Repo: <a href=\"https:&#x2F;&#x2F;github.com&#x2F;whispem&#x2F;minikv\" rel=\"nofollow\">https:&#x2F;&#x2F;github.com&#x2F;whispem&#x2F;minikv</a>\nCrate: <a href=\"https:&#x2F;&#x2F;crates.io&#x2F;crates&#x2F;minikv\" rel=\"nofollow\">https:&#x2F;&#x2F;crates.io&#x2F;crates&#x2F;minikv</a>","time":1770105619,"title":"Show HN: Minikv – Distributed key-value and object store in Rust (Raft, S3 API)","type":"story","url":"https://github.com/whispem/minikv"}