| Distributed, high-performance blob storage on SQLite(zerodha.tech) | |
| 285 points by ghostfoxgod 10 days ago | 72 comments | |
tl;dr: Zerodha built Blobasaur, an open-source Rust-based blob store that speaks the Redis protocol and uses sharded SQLite files as its storage engine, to replace the unmaintained SSDB for storing user UI preferences and chart layouts. It uses consistent hashing across SQLite shards (each with a dedicated writer and group commit), zstd compression (~11x reduction), and Redis Cluster protocol for multi-node scaling, achieving ~25k writes/sec with single-digit ms p99 latency on commodity hardware. It runs in production as a 3-node cluster serving Kite's ~20M users, with relaxed durability (WAL + synchronous=NORMAL) acceptable for non-critical preference data. | |
HN Discussion:
| |