Categories

Architecture

YugabyteDB and CockroachDB: distributed databases in 2025

Distributed SQL databases have moved from promise to production reality. YugabyteDB and CockroachDB lead the segment from different angles. Choosing between them demands understanding what each design compromises and what horizontal scaling costs in practice.

Architecture

Litestream: Near-Real-Time Replication for SQLite

Litestream is an open-source tool that replicates a SQLite database to an S3 bucket in near real time by reading the WAL SQLite already writes. It offers point-in-time recovery, overhead of only 1 to 3% CPU, and replaces the need for a separate database server in small apps.