Cu

Cuttlefish – 40ns causal consistency using algebra instead of consensus

Hacker News

Cuttlefish – 40ns causal consistency using algebra instead of consensus

Distributed systems usually pay milliseconds for correctness because they define correctness as execution order. This project takes a different stance: correctness is a property of algebra, not time. If operations commute, you don’t need coordination. If they don’t, the system tells you at admission time, in nanoseconds. Cuttlefish is a coordination-free state kernel that enforces strict invariants with causal consistency at ~40ns end-to-end (L1-cache scale), zero consensus, zero locks, zero heap in the hot path. Here, state transitions are immutable facts forming a DAG. Every invariant is pure algebra. The way casualty is tracked, is by using 512 bit bloom vector clocks which happen to hit a sub nano second 700ps dominance check. Non-commutativity is detected immediately, but if an invariant is commutative (abelian group/semilattice /monoid), admission requires no coordination. Here are some numbers for context(single core, Ryzen 7, Linux 6.x): Full causal + invariant admission: ~40ns kernel admit with no deps: ~13ns Durable admission (io_uring WAL): ~5ns For reference: etcd / Cockroach pay 1–50ms for linearizable writes. What this is: A low-level kernel for building databases, ledgers, replicated state machines Strict invariants without consensus when algebra allows it Bit-deterministic, allocation-free, SIMD-friendly Rust This is grounded in CALM, CRDT theory, and Bloom clocks, but engineered aggressively for modern CPUs (cache lines, branchless code, io_uring). Repo: https://github.com/abokhalill/cuttlefish I'm looking for feedback from people who’ve built consensus systems, CRDTs, or storage engines and think this is either right, or just bs.

Share card

Actual performance

2points
Did not reach leaderboard

Launch Intel predictions

Analyze your own launch →
Indie HackersFits the IH revenue-focused audience · Missing: supports, reddit linkedin, podcasting
67%67% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
best fitHighest predicted score across all platforms for this description.
Product HuntOn track for Day 1 leaderboard · Strong signals: mac, context, single · Missing: agents, macos, agent
63%63% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
Hacker NewsStrong engagement from HN community · Strong signals: io · Missing: https docs, excited, just released
57%57% 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 · Strong signals: friendly · Missing: plus, platform, intuitive
38%38% predicted probability of success on AppSumo, based on ML models trained on real launch data.
TrustMRRLess likely to generate early MRR · Strong signals: way · Missing: mobile apps, ios, personal
29%29% 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
13%13% 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

Ho
How eventual is eventual consistency?41%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

How eventual is eventual consistency?

Hacker News29
NoFlattery
NoFlattery31%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

An AI council that argues, instead of agreeing with you.

Indie Hackerscommitment-side-project
NoFlattery
NoFlattery39%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

An AI council that argues, instead of agreeing with you.

Product Hunt+2
In
InfraAsAI – Bring consistency to all your microservices52%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

InfraAsAI – Bring consistency to all your microservices

Hacker News2
Indepth Reader
Indepth Reader50%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

consistency in comfort

Indie Hackers1books
Wo
Work through the Om tutorial using Vim/Emacs instead of Light Table57%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Work through the Om tutorial using Vim/Emacs instead of Light Table

Hacker News1
St
Stuck in review hell. Launched MMS instead46%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Stuck in review hell. Launched MMS instead

Hacker News8
I
I wrote a TUI instead of a resume57%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

I wrote a TUI instead of a resume

Hacker News3
Ha
Haven – Selfhost a private blog instead of using Facebook72%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Haven – Selfhost a private blog instead of using Facebook

Hacker News2
Sa
Sangati, a logical consistency checker for data50%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Sangati, a logical consistency checker for data

Hacker News17