ITZMA is still taking shape, and its API can change between releases. Version 0.2.1: serde_with security fix
Docs / Reference

Guarantees

What a write and a query can rely on, with many writers and no coordinator.

On this page

What does Itzma guarantee?

  • Durability. Once upsert or delete returns, the write is in the object store.
  • Read your writes. A query that starts after a write returned sees it, from any handle or process.
  • Atomic batches. Readers see all of a batch or none.
  • Consistent prefix. Readers see entries 1 through n, never a later entry without an earlier one.
  • Total order. Concurrent writers get distinct sequence numbers; the higher one wins for the same id.
  • No lost manifest updates. Every manifest change is a compare-and-swap, retried on fresh contents up to 32 times.
  • Compaction is invisible. A query returns the same documents before, during and after a compaction, including when a compactor is killed or two race.
  • No partial writes on bad input. Validation runs before any storage call.

What isn’t guaranteed?

Exactly-once for plain writes is not guaranteed: a retry after a lost acknowledgement can append the batch twice (Writing explains keyed writes). Keyed writes do not stop two submits of one key running at the same time.

Docs
esc

Loading the docs…