# Chr2

> Most consensus libraries (Raft, Paxos) treat the state machine as a pure black box. This is fine until your state machine needs to actually do something, like charge a credit card, fire a webhook, or send an email. If a leader crashes after the side effect but before committing it, you get duplicat…

Page: https://nowfound.app/launch/chr2-consensus-for-side-effects-exactly-once-is-a-lie

- Launched: 2026-01-11
- Launch-day votes: 12; #891 of 14,577 launches that month (top 6%)
- Website: [github.com](https://github.com/abokhalill/chr2), online when checked 2026-11-28
- Category: [Life & fun](https://nowfound.app/c/life-and-consumer.md)
- Pricing: Free. Free and open source (checked 2026-11-21 on its site)
- Forecast: 80% chance its website is still online in November 2031 (90% in November 2027, 82% in November 2029). Made 2026-11-29 and not revised. Typical launch of 2026: 81%. [Method](https://nowfound.app/forecast.md)
- Originality: 97/100 (one of a kind). More original than 97% of products launched in 2026. On its launch day the archive held no similar products; none have launched since.

## In plain words

Chr2 is a consensus library that handles side effects safely in distributed systems. It addresses the problem where standard consensus mechanisms like Raft and Paxos can cause duplicate actions—such as charging a credit card twice or sending duplicate emails—when leaders crash. Chr2 uses a replicated outbox to store pending side effects, durable fencing to prevent zombie leaders from re-executing commands, and deterministic context to ensure consistent state transitions. It's designed for developers building systems where external actions must be guaranteed to happen exactly once despite failures.

## What it does, from its own words

A deterministic, crash-safe distributed state machine with exactly-once side effects - abokhalill/chr2

## Does a similar job

- [rqlite v2.2.2, replicating SQLite via Raft](https://nowfound.app/launch/rqlite-v2-2-2-replicating-sqlite-via-raft-consensus): The lightweight, fault-tolerant database built on SQLite. Designed to keep your data highly available with minimal effort. (2016-04-26, 66 votes, free, forecast: 87% online in 2031, github.com)
- [Ayder](https://nowfound.app/launch/ayder-http-native-durable-event-log-written-in-c-curl-as-cli): Ayder is a durable event log written in C that uses HTTP and curl as its client interface, eliminating the need for a JVM, ZooKeeper, or thick client libraries. (2026-01-13, 56 votes, free, forecast: 88% online in 2031, github.com)
- [steadybit](https://nowfound.app/launch/steadybit): Chaos engineering, on-prem & SaaS, open source extensions (2023-06-22, 91 votes, free tier, forecast: 84% online in 2031, steadybit.com)
- [rqlite v3.4.1](https://nowfound.app/launch/rqlite-v3-4-1-replicating-sqlite-via-raft-consensus): The lightweight, fault-tolerant database built on SQLite. Designed to keep your data highly available with minimal effort. - Release v3.4.1 · rqlite/rqlite (2016-09-02, 8 votes, free, forecast: 84% online in 2031, github.com)
- [Durable Actor Session Protocol](https://nowfound.app/launch/durable-actor-session-protocol): Durable Actor Session Protocol. A server protocol for commands, saved outcomes, and recovery. (2026-09-28, 18 votes, forecast: 81% online in 2031, dasp-protocol.github.io)
- [Memora-Swarm](https://nowfound.app/launch/memora-swarm): The TLS for autonomous agent state. (2026-07-20, 9 votes, forecast: 72% online in 2031, memora.optitransfer.ch)

All alternatives: https://nowfound.app/alternatives/chr2-consensus-for-side-effects-exactly-once-is-a-lie.md

## For the maker of Chr2

- Feature it at the top of the NowFound home page for $19 for 30 days, marked sponsored: https://nowfound.app/feature/chr2-consensus-for-side-effects-exactly-once-is-a-lie
- Free: put the badge on the product's own site and it joins Featured products after the paid spots, and this page links to the site with a normal link search engines follow. HTML for the footer: `<a href="https://nowfound.app/launch/chr2-consensus-for-side-effects-exactly-once-is-a-lie"><img src="https://nowfound.app/badge/chr2-consensus-for-side-effects-exactly-once-is-a-lie.svg" alt="Chr2 on NowFound" height="32"></a>`

Source: [Show HN post](https://news.ycombinator.com/item?id=46579900)
