{"by":"whispem","descendants":39,"id":46661308,"kids":[46661538,46661419,46664118,46675357,46673079,46662175,46662030,46662152],"score":35,"text":"Hi HN,<p>I’m releasing minikv, a distributed key-value and object store in Rust.<p>What is minikv?\nminikv 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. \nI started minikv as a learning project about distributed systems, and it grew into something production-ready and fun to extend.<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>git 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\n# 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":1768678776,"title":"Show HN: Minikv – Distributed key-value and object store in Rust (Raft, S3 API)","type":"story","url":"https://github.com/whispem/minikv"}