Back to browse
GitHub Repository

Coordination-free distributed state kernel with nanosecond latency

41 starsRust

How do you reliably benchmark sub-100ns code paths in Rust

by yousef06·Feb 17, 2026·1 point·1 comment

AI Analysis

●●SolidWizardryNiche Gem
The Take

The project pairs algebraic correctness (commutative ops/CRDT ideas) with low-level tricks—SIMD Bloom-clock comparisons, BLAKE3 checkpointing and io_uring-backed durable admission—to chase genuine sub-microsecond admission cycles. The benchmarks and crate/docs suggest serious engineering, but the extreme nanosecond claims will need reproducible cross-platform verification and only apply when your workload's operations commute.

Target Audience

Backend developers, systems programmers, and distributed-systems engineers

Post Description

Hi everyone,

I just finished coding the core version of this library called Cuttlefish written completely in rust. It’s a CRDT inspired framework that packs stuff like io_uring, SIMD, zero copy pipelines etc.. Here’s what it is:

So most distributed systems are strong consistency but the tradeoff is latency. Cuttlefish is a coordination-free state kernel that preserves invariants and constraints at the speed of your L1 cache.

Correctness here is defined by a property of algebra. So if your operations commute, you don’t need coordination. If they don’t, you know at admission time in nanoseconds, or at least it’s supposed to.

Running a full benchmark suite triggered the following results:

Full admission cycle: ~40ns Kernel admit: ~13 ns Causal clock dominance: ~700 ps Tiered hash verification: ~280 ns Durable admission: ~5.2 ns WAL hash: ~230 ns

On my CPU though (r5 7600x), I measure 40 ns full cycle including causality check, but I’m not sure of my benchmark setup because most of it was written by AI. How are other people measuring sub-100 ns rust code paths reliably? Repo: https://github.com/abokhalill/cuttlefish

Similar Projects

Data●●●Banger

LaminarDB – Streaming SQL database in Rust, zero-alloc hot path

Sub-microsecond streaming SQL via zero-alloc hot path; genuine advancement over SQLite+DataFusion.

WizardryNiche GemSolve My Problem
sujitn
613mo ago