SparrowDB
maintenanceby SparrowDB project (Brazil) · since 2016
Append-only image database in Go with a built-in HTTP API and Lua-scripted image processing; idle since 2018.
maintenance. No commits since March 2018 (1.0.0 shipped March 2017); effectively unmaintained. For image storage use an S3-compatible object store with an image proxy.
Overview
SparrowDB is a purpose-built store for images: each database is an append-only data file of records plus an index file and a Bloom filter, much like the haystack-style photo stores large sites built for themselves. It ships an HTTP API for creating databases, uploading and fetching images (optionally behind random per-image tokens to stop URL guessing), a web admin panel, and Lua scripts that apply image effects on the server through the bild library. It reached 1.0.0 in March 2017 and saw its last commit a year later, so treat it as a small reference design rather than something to deploy.
Strengths & trade-offs
Strengths
- +Append-only data file with an index and Bloom filter keeps image reads to one seek
- +Serves images directly over HTTP with no application server
- +Server-side image effects scripted in Lua
- +Optional per-image tokens make URLs unguessable
Trade-offs
- −Unmaintained since 2018
- −Single node with no replication
- −Tiny project with few users and little documentation
Great for
- +Studying haystack-style blob storage
- +Small self-hosted image galleries or experiments
Think twice for
- −Production media storage at scale
- −Anything needing durability guarantees or replication
Capabilities
Native or official first-party support · 1 of 25 tracked
Scale & consistency
- Comfortable data size
- Small · ≤ 100 GB
- Horizontal scaling
- None
- Multi-region
- No
- Transactions
- None
- Consistency
- Strong
- Schema
- Schemaless
- Architecture
- Single node, Client server
- Query languages
- HTTP API
Deployment
Ecosystem
Alternatives to SparrowDB
Google's original small, fast LSM key-value library, now in limited-maintenance mode.
sparrowdb vs leveldb →etcd's maintained fork of BoltDB: a simple, pure-Go B+tree store in a single file.
sparrowdb vs bbolt →Meta's embeddable LSM-tree key-value engine, the storage layer under dozens of databases.
sparrowdb vs rocksdb →Cockroach Labs' Go LSM engine, inspired by RocksDB and tuned for CockroachDB.
sparrowdb vs pebble →Erlang-based, Dynamo-style key-value store built to stay up through ugly failures.
sparrowdb vs riak-kv →Transparent persistence for Python objects with ACID transactions and history.
sparrowdb vs zodb →SparrowDB FAQ
What is SparrowDB?
SparrowDB is a key-value database by SparrowDB project (Brazil), first released in 2016. SparrowDB is a purpose-built store for images: each database is an append-only data file of records plus an index file and a Bloom filter, much like the haystack-style photo stores large sites built for themselves. It ships an HTTP API for creating databases, uploading and fetching images (optionally behind random per-image tokens to stop URL guessing), a web admin panel, and Lua scripts that apply image effects on the server through the bild library. It reached 1.0.0 in March 2017 and saw its last commit a year later, so treat it as a small reference design rather than something to deploy.
Is SparrowDB open source?
Yes. SparrowDB is open source. License: MIT License.
Does SparrowDB support ACID transactions?
No. SparrowDB does not provide ACID transactions; its consistency model is strong.
Does SparrowDB scale horizontally?
SparrowDB does not scale horizontally; it runs on a single node, so you scale it up rather than out. It is comfortable at small scale (≤ 100 GB).
How can I run SparrowDB?
You can self-host it.
What is SparrowDB best for?
SparrowDB is a strong fit for studying haystack-style blob storage and small self-hosted image galleries or experiments. Think twice for production media storage at scale.
What are the best alternatives to SparrowDB?
Common alternatives to SparrowDB include LevelDB, bbolt, RocksDB, Pebble and Riak KV. The right choice depends on your workload, scale and hosting; WhichDB's smart match ranks them against your requirements.
Is SparrowDB still maintained?
SparrowDB is in maintenance mode. No commits since March 2018 (1.0.0 shipped March 2017); effectively unmaintained. For image storage use an S3-compatible object store with an image proxy.
How popular is SparrowDB?
SparrowDB ranks #640 of 844 databases on the WhichDB Score (0.5/100), and #122 among key-value databases. The score combines public adoption signals such as package downloads, GitHub activity, job posts and developer discussion.

