Memory
Ephemeral, process-local storage for development and disposable workloads.
Use AOF for the runnable server when durability matters. Keep the default safe fsync behavior unless measured workload data points to tuning the writer queue or group commit settings.
Ephemeral, process-local storage for development and disposable workloads.
Append-only file storage with replay, compaction, integrity verification, backup, and restore tooling.
Embedded/native storage backend. The runnable server currently exposes memory and AOF storage modes.
latlng-cli aof-verify ./data/appendonly.aof
latlng-cli aof-backup ./data/appendonly.aof ./backup/appendonly.backup.json
latlng-cli aof-restore ./backup/appendonly.backup.json ./restore/appendonly.aof aof-backup is an offline tool. Use it against a stopped server or a copied AOF that is no longer being written. For live systems, prefer graceful shutdown or crash-consistent filesystem snapshots followed by verification.
# config file
expiry_sweep_interval_ms = 100
# environment variable or CLI flag
LATLNG_EXPIRY_SWEEP_INTERVAL_MS=100
latlng-server --expiry-sweep-interval-ms 100 Yes. Since v0.2.0 the leader deletes expired objects with a background sweep, and each expiry goes through the normal delete path. Hooks and channels whose commands include Del receive a Del event, so a tracker that stops reporting can raise an alert.
The runnable latlng-server currently exposes two storage modes: memory (ephemeral, process-local) and AOF (append-only file with full durability, replay, compaction, verification, backup and restore). The Rust storage layer also includes SQLite for embedded use.
aof-backup is an offline tool. Use it against a stopped server or a copied AOF that is no longer being written. For live systems, prefer graceful shutdown or crash-consistent filesystem snapshots followed by aof-verify.
Replay keeps the valid prefix of the AOF and discards a truncated final frame. A truncated final batch is ignored as one unit so command-plus-webhook atomicity is preserved. Complete-but-corrupt payloads fail startup with a codec error instead of silently dropping data.