Small state. Explicit effects.
Classic Paxos, Multi-Paxos and rotating ownership. Fixed-capacity storage, deterministic transitions, and a visible write-before-send contract.
PAXOS, FROM THE PAPER TO YOUR PROCESS
Messages arrive late. Machines restart. Decisions must endure. A bounded consensus engine in Odin, with an idiomatic Python interface.
Classic Paxos, Multi-Paxos and rotating ownership. Fixed-capacity storage, deterministic transitions, and a visible write-before-send contract.
Typed sessions, asyncio, owned bytes and errors that explain the next step. You choose the storage and authenticated transport.
Trace Lamport’s paper through diagrams, invariants and code. Inspect the design records and the limits of measured performance.
A SMALL FIRST EXPERIMENT
Install the Python package with uv or pip. The in-process cluster below is memory-backed, for learning and tests. Production sessions use your journal, history and transport adapters.
Explore the Python API ↗$ uv add paxodin
from paxodin.testing import Cluster
with Cluster(3) as cluster:
receipt = cluster.append(b"hello, consensus")
print(receipt.slot, receipt.value)
# 1 b'hello, consensus'THE LIBRARY, OPEN
From a single decision to a working replicated system, with visual explanations and a safety argument.
The decisions, tradeoffs, implementation status and verification evidence behind the library.
Download the complete book. Individual design-record PDFs are available from the POD index.
THE PAXODIN CLI
Build, test, simulate and generate documentation from a checkout.
The Odin import remains paxos.