For years, the industry playbook was simple: if you need to store massive amounts of binary data at scale, reach for a heavy-duty distributed database or a dedicated object store. SQLite was the 'small' tool, relegated to local config files and mobile apps. But a new architectural trend is flipping the script, proving that the world's most deployed database can actually anchor high-performance, distributed blob storage.
Sharding the 'Small' Database
The secret sauce isn't trying to make one SQLite file massive, but rather leveraging it as a building block. Projects like Blobasaur demonstrate this by using Rust to create a sharded blob storage server. By implementing the Redis protocol for client compatibility and using SQLite as the backend for each individual shard, developers get the reliability of a relational engine with the speed of a key-value store.

Engineering Trade-offs and Scale
Industry players like Zerodha are now detailing how they've scaled this approach in production. The shift moves the complexity from the database engine to the orchestration layer. Instead of managing a monolithic cluster, the system distributes blobs across multiple SQLite instances. This reduces overhead and avoids the 'heavy-duty' tax of traditional distributed DBs, while still benefiting from SQLite's efficient BLOB handling—which, as official tests show, can be surprisingly competitive against external file storage depending on the object size.
A New Era of Lightweight Infrastructure
From rqlite providing fault-tolerant distributed relational capabilities to specialized blob stores, we are seeing a move toward 'composable' infrastructure. By treating SQLite as a high-performance storage engine rather than just a local file, engineers are building systems that are easier to operate and significantly leaner.
Sources
Media



