Skip to main content

AllocDB

A deterministic resource-allocation database

The Problem

Modern systems repeatedly rebuild reservation logic on top of generic databases, caches, queues, and cleanup workers. Typical stacks rely on PostgreSQL row locking, Redis TTL keys, ad-hoc queues, and background cleanup workers.

These systems frequently fail by causing double allocations, ghost reservations, race conditions, retry storms, and fragile crash recoveries.

The Solution

AllocDB exists to make "one resource, one winner" a first-class primitive. It exists to remove these failure modes from application code.

  • Determinism First: The same snapshot and WAL must always produce the same state.
  • Boundedness First: Every queue, table, batch, payload, and retention window has an explicit limit.
  • Built in Rust: Trusted-core code targets allocation-free steady-state execution after startup.