frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Rockraft – a Rust framework for building strongly consistent KV stores

https://github.com/lichuang/rockraft
4•codedump•1h ago

Comments

codedump•1h ago
Hi HN,

Recently, I've been building two open-source projects: rockraft (https://github.com/lichuang/rockraft) and coredb (https://github.com/lichuang/coredb).

coredb is a strongly consistent Key-Value database built on top of openraft and RocksDB, offering full compatibility with the Redis protocol. In my opinion, the Redis protocol has become the de facto standard in the KV storage domain, and its ecosystem value should not be confined to traditional in-memory caching. By backing it with strongly consistent persistent storage, we can unlock entirely new possibilities and application scenarios—much like how HTTP evolved from a simple web page transfer protocol into a ubiquitous communication cornerstone.

Initially, I only intended to build coredb. However, during development, I realized that the "Raft + RocksDB" architectural combination possesses tremendous general-purpose value. Recognizing that other developers might also need such a reliable underlying foundation to build their own strongly consistent storage systems, I decoupled this core logic and extracted it into an independent foundational framework: rockraft.

Wiring openraft with RocksDB and decoupling the state machine replication logic wasn't trivial. If you're curious about the nitty-gritty implementation details, the architectural decisions, and the challenges I faced along the way, I've documented the whole journey in my blog here: https://www.codedump.info/en/post/20260412-rockraft/

I would love to hear your thoughts on this architecture, the code, or my take on the Redis protocol. Any feedback, questions, or harsh critiques are highly welcome!

Unmasking the Creator of Bitcoin

https://www.nytimes.com/2026/04/09/podcasts/the-daily/satoshi-nakamoto-bitcoin-creator.html
2•brandonb•44s ago•0 comments

The Harness Tax: The dead weight in your coding agent

https://twitter.com/siddhxrth10/status/2043703343453987133
1•siddhxrth•1m ago•0 comments

How Healthy Are Oats?

https://www.nytimes.com/2026/04/13/well/eat/oats-health-benefits-recipes.html
1•brandonb•1m ago•0 comments

The Graveyard of Unabsorbed Knowledge

https://verificationbottleneck.substack.com/p/the-graveyard-of-unabsorbed-knowledge
1•Giwwi•1m ago•1 comments

We May Be Living Through the Most Consequential Hundred Days in Cyber History

https://ringmast4r.substack.com/p/we-may-be-living-through-the-most
3•laurex•4m ago•0 comments

Show HN: I built a sandboxed agent that writes JSON rules to avoid repeat errors

1•grimm8000•5m ago•1 comments

Live Streaming from Space: Infrastructure Challenges Behind Video Beyond Earth

https://www.red5.net/blog/live-streaming-from-space-infrastructure-challenges/
1•mondainx•6m ago•0 comments

An Oligarchy of Old People

https://www.theatlantic.com/magazine/2026/05/gerontocracy-wealth-power/686585/
1•paulpauper•7m ago•0 comments

In Praise of 'Difficult' Kids

https://www.theatlantic.com/family/2026/04/raise-difficult-kids-on-purpose/686766/
2•paulpauper•7m ago•0 comments

Self-driving vehicles and the cross-country drive

https://marginalrevolution.com/marginalrevolution/2026/04/self-driving-vehicles-and-the-cross-cou...
1•paulpauper•8m ago•0 comments

Make Tmux Pretty and Usable

https://hamvocke.com/blog/a-guide-to-customizing-your-tmux-conf/
2•speckx•8m ago•1 comments

The largest orbital compute cluster is open for business

https://techcrunch.com/2026/04/13/the-largest-orbital-compute-cluster-is-open-for-business/
1•Brajeshwar•9m ago•0 comments

More Legal Systems Different from Ours: Video-Game Law

https://alec.freumh.org/More%20Legal.html
1•surprisetalk•10m ago•0 comments

I Quit Drinking for a Year

https://dynomight.net/drinking/
1•surprisetalk•10m ago•0 comments

A Man in the Room

https://nataliercargill.substack.com/p/the-man-in-the-room
1•surprisetalk•10m ago•0 comments

Lambda Just Got a File System. I Put AI Agents on It

https://edjgeek.com/blog/s3-files-lambda-agents/
1•edjgeek•11m ago•0 comments

The sonic anatomy of a double-tap strike

https://earshotngo.substack.com/p/the-sonic-anatomy-of-a-double-tap
1•moxifly7•11m ago•0 comments

I'm Leaving Germany – Brutally Honest Review [video]

https://www.youtube.com/watch?v=HQvSItqdd5o
2•obscurette•12m ago•0 comments

Rust's rise shows signs of slowing

https://www.tiobe.com/tiobe-index/
1•smurda•13m ago•0 comments

TurboOCR: 270–1200 img/s OCR with Paddle and TensorRT (C++/CUDA, FP16)

https://github.com/aiptimizer/TurboOCR
3•pfdomizer•14m ago•1 comments

Not a Luddite Fallacy (2011)

https://baatz.ch/2011/not-a-luddite-fallacy/
1•rzk•14m ago•0 comments

Show HN: Crafto – AI carousel post generator for LinkedIn and Instagram

https://crafto.ai
1•xz_tie•14m ago•0 comments

When Intelligence Scales, Reality Drifts

https://therealitydrift.substack.com/p/when-intelligence-scales-reality
1•realitydrift•15m ago•0 comments

Jammed phone lines. Burned-out dispatchers. Can AI ease a strained 911 system?

https://www.begiant.ca/stories/people/911-wait-times-artificial-intelligence
2•speckx•15m ago•0 comments

Leaked screenshots show Anthropic building app creator inside Claude

https://xcancel.com/v_shakthi/status/2043644356016619749
1•_____k•16m ago•0 comments

Waking up as a meme-hero – Andras Arato [video]

https://www.youtube.com/watch?v=FScfGU7rQaM
1•BruceEel•17m ago•0 comments

Show HN: _hyperscript 0.9.90

https://hyperscript.org/posts/2026-03-29-hyperscript-0.9.90-is-released/
1•recursivedoubts•17m ago•0 comments

Run Swift on Debian Trixie

https://melomac.com/posts/run-swift-on-debian-trixie/
1•melomac•18m ago•1 comments

Is Your AI Coding Agent Being Watched While Benchmarked:Hidden Logging?

https://huggingface.co/datasets/nebius/SWE-agent-trajectories
1•NedimRenesalis•19m ago•0 comments

Doom – HTML-in-Canvas

https://html-in-canvas-stuff.solarise.dev/doom.html
2•xnx•19m ago•0 comments