Skip to content- Sources: primary, discussion
- Summary: Zerodha built Blobasaur in Rust to store user layout blobs from kilobytes to megabytes, after rejecting ScyllaDB, PostgreSQL, RocksDB, SeaweedFS and S3 for its overwrite-heavy workload. Each node splits keys across SQLite WAL files with one group-committing writer per shard, and 16 shards raised 64 KiB write throughput 3.3x over one shard. A three-node cluster of 4 vCPU machines holds p99 near 2 ms during trading hours, and the post covers fixes for file growth, async write visibility and TTL cleanup contention.
- Why it matters: It shows how far sharded SQLite with group commit and compression can go as a small-server key-value store, and which SQLite defaults bite at scale.
- Background: SQLite in WAL mode lets many readers run alongside one writer per database file, so write concurrency comes from splitting data across files. Group commit batches many client writes into one transaction to amortize fsync and WAL overhead. Redis Cluster clients route keys by CRC16 hash slot and follow MOVED redirects, which lets a new server reuse existing client libraries.
- Comments: The Hacker News thread reached 197 points and 58 comments.