KantanDB

A small JSON document database.

Database design

Databases and documents

KantanDB uses JSON objects as documents and groups documents into named databases.

Indices and queries

KantanDB uses jq as a query language and can define indices over often used fields. When index is not awailable the queryplanner fails back to full scan.

Persistence

A successful write survives a restart and a document changes are hapening atomically with indices updates.

Encryption

Document bodies are compressed and encrypted before they reach storage.

Implementations

Current

Go

The Go version uses net/http to serve requests, Pebble for storage, and AES-256-GCM to encrypt documents. Supported output formats are JSON and stream NDJSON.

Planned

Rust

Work on Rust port will start soon.