#347347th of 358 in Backends, databases and hosting
sled
Embedded key-value database for Rust with a BTreeMap-like API
- Stars
- 9.1k
- License
- Apache-2.0
- Last commit
- Apr 2026
- Last release
- Sep 2021
- Language
- Rust
8,942 on 2 May 20269,144 on 21 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
Overview
sled is an embedded Rust database exposing a thread-safe, ordered byte-key API similar to BTreeMap, with ACID multi-key transactions, compare-and-swap, write batches and prefix subscriptions. It uses a lock-free tree over a log-structured pagecache and fsyncs every 500ms by default. The README states it is beta, the on-disk format will change before 1.0.0, and the README is out of sync with a main branch undergoing a rewrite.
Who it is for: Rust developers needing an embedded ordered key-value store
Strengths
- Serializable transactions across multiple keys and keyspaces
- Ordered range queries with forward and reverse iterators
- Prefix watch subscriptions that can be awaited as a Future
- Optional zstd compression via the `compression` build feature
Weaknesses
- Beta; README says to use SQLite if reliability is the primary constraint
- On-disk format will change before 1.0.0, requiring manual migrations
- Can use too much disk space; README points to RocksDB for that
- Only one open instance per process; last release was 2021-09
What it needs
- no GPU
What changed
From the release notes. No flag means the note does not say so, not that the upgrade is safe.
Also in Backends, databases and hosting
See all 358| Rank | Project | Score |
|---|---|---|
| #345 | ferretdbMongoDB-compatible proxy that stores documents in PostgreSQL | 30 out of 100 |
| #346 | graphqlFull-stack React framework with GraphQL API and Prisma, now succeeded by RedwoodSDK | 29 out of 100 |
| #348 | gelGraph-relational database with object types and the EdgeQL query language | 28 out of 100 |
| #349 | nodejs-backend-architecture-typescriptExpress, TypeScript and MongoDB blog API with JWT auth and Redis caching | 27 out of 100 |
| #350 | vectorchordPostgreSQL extension for vector search with RaBitQ compression | 27 out of 100 |