I

I built a distributed key-value store in Rust (~2K LOC)

Hacker News

I built a distributed key-value store in Rust (~2K LOC)

Hi HN, I built nanokv, a small distributed object/kv store in Rust. This started as a personal learning project to understand distributed systems, concurrency, and Rust at scale, but it evolved into something that’s actually usable: Architecture: Coordinator (metadata, placement, 2PC) + volume servers (blob storage) Features: replication, consistency, health checks, repair, rebuild, rebalance, GC APIs: simple REST (GET/PUT/DELETE) Ops: verify/repair/rebuild tools, OpenTelemetry tracing, K6 benchmarks Performance: on my laptop, 64 MB objects sustain ~600–1000 MB/s per stream; aggregate throughput climbs into hundreds of MB/s with replication. It’s nowhere near the sophistication of MinIO or SeaweedFS, but the code is simple (a few thousand lines), and the focus is on clarity and hackability rather than features. I learned a lot about backpressure (multi-semaphores for control vs data), streaming I/O, and debugging bottlenecks with tracing. If you’re curious about building storage systems in Rust, the repo has a detailed README and benchmarks. I’d love feedback: Does the design make sense? What would you like to see if this grew beyond a learning project? Thanks for reading!

Share card

Actual performance

1points
Did not reach leaderboard

Launch Intel predictions

Analyze your own launch →
Product HuntOn track for Day 1 leaderboard · Strong signals: code, apis, open · Missing: mac, agents, macos
68%68% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
best fitHighest predicted score across all platforms for this description.
Indie HackersFits the IH revenue-focused audience · Strong signals: started · Missing: supports, reddit linkedin, podcasting
67%67% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
Hacker NewsStrong engagement from HN community · Strong signals: 000, io · Missing: https docs, excited, just released
55%55% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
AppSumoMay struggle as an AppSumo deal · Missing: plus, platform, intuitive
48%48% predicted probability of success on AppSumo, based on ML models trained on real launch data.
TrustMRRLess likely to generate early MRR · Strong signals: personal · Missing: mobile apps, ios, entrepreneurs
45%45% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Missing: arr, mrr, revenue
21%21% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Missing: web3, chat, crypto
0%0% predicted probability of success on BetaList, based on ML models trained on real launch data.

Incorrect prediction on native model

Similar products

A
A simple distributed key-value store built on Raft61%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

A simple distributed key-value store built on Raft

Hacker News3
A
A simple distributed key-value store built on Raft61%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

A simple distributed key-value store built on Raft

Hacker News12
A
A threaded, TCP, key value store in Haskell74%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

A threaded, TCP, key value store in Haskell

Hacker News63
Ir
IronDB – a resilient key-value store for the browser55%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

IronDB – a resilient key-value store for the browser

Hacker News73
Kv
Kvass, a personal key-value store54%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Kvass, a personal key-value store

Hacker News227
A
A key-value store built with homomorphic encryption52%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

A key-value store built with homomorphic encryption

Hacker News22
Su
Subscribable Key Value store using NATS50%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Subscribable Key Value store using NATS

Hacker News1
Ke
Key Value store using HFS+ extended attributes38%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Key Value store using HFS+ extended attributes

Hacker News3
Ol
Olivia, a distributed, in-memory, Key-value store in Go58%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Olivia, a distributed, in-memory, Key-value store in Go

Hacker News6
Ki
Kiwi – a minimalistic, extendable, in-memory key value store44%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Kiwi – a minimalistic, extendable, in-memory key value store

Hacker News23