Skip to content

Why Kifa

Kifa is a storage engine for transaction logs on edge devices. It uses a write-ahead log with configurable fsync to guarantee that every confirmed write survives power failure. Built for POS terminals and mobile money agents operating in unreliable environments.

When a payment terminal loses power mid-transaction, Kifa keeps the data written before the crash. No SQLite. No external database. A single binary that does one thing well.

ConstraintHow Kifa Addresses It
Unreliable powerConfigurable fsync modes, from batched to per-write durability
Limited resourcesSingle static binary, minimal memory footprint
Offline operationNo network dependencies, everything stored locally
Audit requirementsImmutable append-only log with timestamp ordering
FeatureKifaSQLitePlain Files
Crash-proof writesYesYesNo
No runtime dependenciesYesNoYes
Configurable durabilityYesLimitedNo
Append-optimizedYesNoYes
Query by time rangeYesYesNo
Built-in compactionYesYesNo
Direct I/O (Linux)YesNoNo

Kifa is not a general-purpose database. It does not support random key-value access, SQL queries, or multi-table schemas. It is not a message queue, and it is not a replacement for a full observability stack.

Kifa is a durable local log for edge devices. Entries go in, entries come out, and nothing is lost in between.