Petsem: Sometimes Dead Is Better
Fly.io replaced HashiCorp Vault with Petsem, a home-grown secrets store that keeps a single write master in IAD but adds regional read replicas, trading strict consistency for availability.
Fly.io replaced HashiCorp Vault with Petsem, a home-grown secrets store that keeps a single write master in IAD but adds regional read replicas, trading strict consistency for availability.
Litestream's SQLite VFS now supports an optional write mode and background hydration, built so the Sprites storage stack can serve reads and writes milliseconds after a cold boot without first downloading its JuiceFS block map from object storage.
Litestream VFS is a SQLite VFS plugin that runs read-only queries directly against Litestream backups in S3 without downloading the whole database, and supports point-in-time queries via a `PRAGMA litestream_time` setting.
Corrosion is Fly.io's open-source service discovery system: a Rust program that propagates a SQLite database across thousands of workers via SWIM gossip and QUIC, using the cr-sqlite CRDT extension with last-write-wins logical timestamps instead of distributed consensus.
Litestream v0.5.0 replaces WAL-segment backups with the LTX file format from LiteFS, enabling efficient point-in-time recovery through hierarchical compaction (30-second, 5-minute and hourly levels), so a restore typically needs only a dozen or so files.
Litestream is being reworked around ideas from LiteFS. It replaces the raw-WAL "shadow WAL" with transaction-aware LTX files, sorted page changesets that can be compacted LSM-style, so point-in-time restores no longer replay every intermediate page write.
Instead of designing an API for internal services, Fly.io ships them a read-only SQLite replica via LiteFS, letting consumers query and join data with plain SQL.