Distributed, high-performance blob storage on SQLite
Zerodha built Blobasaur, a Rust blob server that shards SQLite databases and speaks the Redis Cluster protocol, for high-throughput storage of UI preferences and chart layouts.
Per-shard writer queues batch transactions; zstd compression and separate reader pools help its workload. In a tmpfs benchmark, 16 shards improved write throughput over one shard, but the design explicitly trades durability for speed: production uses SQLite WAL with synchronous=NORMAL, and optional async writes acknowledge before commit. Slot assignment is static; live rebalancing and automatic failover are not implemented.
HN readers asked about replication, fault tolerance and consistency—important questions before adopting it for data more critical than these preferences.