spotify/sparkey
Simple constant key/value storage library, for read-heavy systems with infrequent large bulk inserts. observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4751
- days_rel: n/a
- days_push: 1112
- n_releases_24m: 0
Adoption not part of the score
1208 stars · 83 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Sparkey is a simple constant key/value storage library written in C, essentially a read-only hash table on disk optimized for read-heavy systems with infrequent large bulk inserts. It ships as a C library (libsparkey) plus a command-line utility for inspecting and reading sparkey index/log files.
Use cases
- store a large immutable key/value dataset on disk for fast random reads
- periodically rebuild a lookup table with bulk writes and serve it read-only
- embed a persistent hashtable in a C application without running a database server
- inspect and read sparkey index/log files from the command line
- serve rarely-updated reference data to high-throughput low-latency services
When to choose
- your data is written in infrequent large bulk loads and read far more often than updated
- you want a lightweight embedded key/value store with no server or network layer
- you need many concurrent readers with low per-entry overhead and block compression
When to avoid
- you need frequent incremental writes or multiple concurrent writers
- you need a distributed or replicated key/value store
- you need robustness against data corruption or a compacted data store
Facets
library · maturity maintenance
database caching serialization databases developer-tools performance cpp cli cross-platform key-value-store persistent-hashtable read-heavy bulk-inserts snappy-compression c-library linux macos
1 source
- readme: https://github.com/spotify/sparkey · fetched 2026-08-28 · eefbbd075fd6
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| spotify/sparkey | main | 32 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem