Open-source project
slatedb/slatedb avatar
slatedb/slatedb

SlateDB is an LSM tree whose sorted tables live in object storage

A cloud native embedded storage engine built on object storage.

3,665 stars350 forksRustApache-2.0

At a glance

What is it?
slatedb/slatedb takes the log-structured merge-tree design and changes one thing: the sorted tables go to object storage rather than to local disk. That buys capacity, durability and replication, and it costs latency and per-request money, which is why the rest of the documentation is about batching, caching and flushing.
Who is it for?
SlateDB suits an application already committed to object storage that wants a key-value store with bottomless capacity and easy replication, and that can live with per-request cost and latency. It does not suit a workload where every write must be a local disk write.
Can I use it commercially?
Yes. Apache-2.0 is a permissive licence: you can use, modify and sell software built on it, as long as you keep its copyright and licence notices.
Is it still maintained?
Yes. The repository received new commits within the last day.
What is it written in?
Mainly Rust, according to GitHub's language statistics.

Answers come from the project's GitHub data, last synced on November 23, 2026, and from our analysis. They are not legal advice.

From daily snapshots

Star history

  • slatedb/slatedb3,665 ★ · +230
Star history
Repository2026-09-242026-11-23
slatedb/slatedb3.4k3.7k

230 Stars in the last 60 days, measured from the daily GitHub snapshot. Compare with other projects

Editorial analysis

The trade is latency and cost, and the docs say so

The introduction names the design in the first sentence: an embedded storage engine built as a log-structured merge-tree. The second sentence is where the project differs from every other engine of that family, which is that it writes data to object storage rather than to local disk. Named services include S3, Google Cloud Storage, Azure Blob Storage, MinIO and Tigris, with the phrase and so on making clear the list is not exhaustive. The benefits that follow from that choice are listed next: bottomless storage capacity, high durability and easy replication. The cost is then stated in the same paragraph with no hedging, since object storage has a higher latency and a higher API cost than local disk. Everything after that sentence is an attempt to reduce those two numbers.

Writes are batched into sorted tables on a timer

The mechanism for reducing write cost is batching, and the reason it works is that a put call does not become a request to object storage. Instead, memory tables are flushed periodically to object storage as a string-sorted table, which is the on-disk format of the log-structured merge-tree family. The interval is configurable, which is the knob that decides the trade directly: flush often and pay more requests, flush rarely and hold more in memory for longer before a write is durable. So the first thing to tune on this engine is not the cache but how often the memory table becomes a sorted table, since that is what determines both the bill and how much work a crash can lose.

toml
[dependencies]
slatedb = "*"
tokio = "*"

The dependency block is worth a glance for a different reason: both entries are wildcards rather than versions, so a project that copies it verbatim resolves against whatever is current rather than what was tested.

A write returns a handle, not a confirmation

The durability story is explicit in the API shape. A write operation updates the in-memory write-ahead log and the memory table, and then returns a handle rather than resolving once the bytes are safe. Waiting for that one write to become durable is a separate await on the handle. Waiting for everything pending is a different call, a flush on the database itself. So there are two granularities of durability and the caller chooses which one pays for. This is the correct interface for a remote store, where acknowledging a write before it lands would be a lie, and it is also the place where a reader should look first if they want to know what a successful put actually guarantees. The distinction only disappears in a local-disk engine, which is the comparison the introduction invites by naming the difference in cost.

Any ObjectStore implementation works, and the crate is re-exported

The storage abstraction is not built in. The engine talks to object storage through a separate crate with a trait, and it supports any implementation of that trait, which is why the list of named services can end with and so on without the project maintaining adapters for each. The same crate is re-exported from the engine for convenience, so a consumer does not have to add a second dependency or worry that the two copies of the trait definitions are different types. The worked example uses the in-memory implementation of that trait rather than a network service, which means the entire getting-started path runs with no credentials and no bucket. That is a deliberate and rather good choice for a tutorial: the only thing that changes between the example and production is which implementation of the trait gets constructed.

Storage format compatibility is promised, API compatibility is not

The release schedule is unusually candid and is worth reading before anything else. The project follows semantic versioning and releases roughly every two months, at the end of each even month of the year. It guarantees forward and backward compatibility for storage formats between adjacent versions. It does not guarantee API compatibility, and the stated reason is that it reserves the right to break compile-time compatibility. So an upgrade may require code changes even at a patch level within your own lockfile, while a file written by the previous version stays readable. The recent release tags are consistent with the cadence: three successive minor versions across three consecutive even months.

Fourteen of fifteen features are ticked

The feature list is a checklist where every entry links back to the issue that tracked it, and exactly one box is empty: range deletions. Everything else is present, and the entries are ordered from the primitive outward. The basics are a get, put and delete interface and sorted tables living in object storage. Range queries come next, then the read-side machinery that keeps request counts down: a block cache, a disk cache, compression and bloom filters. On the write side there is manifest persistence and compaction. Above those sit the features that make the engine usable by more than one caller: transactions, a merge operator, clones, change data capture, and database split and merge, which is the only entry linked to a design document rather than an issue.

Four official bindings, and five others including a duplicate

Language bindings are where the list stops being tidy. Four are marked official and live inside this repository: Go, Java, Node.js or TypeScript, and Python. Five are not, and two of those five are the same language as an official one. There are two separate .NET repositories from two different organisations, and there is a second TypeScript binding from a company unrelated to the official Node one. The rest are Ruby and the .NET pair. The mechanism underneath is visible in the workspace, where a single bindings directory contains a component for a cross-language interface generator rather than one directory per language, which is what makes adding an unofficial target cheap for anyone willing to do it. The cost of that openness is that two of the listed clients are not the official one and nothing in the list says which to prefer.

Editorial conclusion

SlateDB suits an application already committed to object storage that wants a key-value store with bottomless capacity and easy replication, and that can live with per-request cost and latency. It does not suit a workload where every write must be a local disk write. Before adopting it, read the release schedule, because the project promises storage-format compatibility between adjacent versions while explicitly reserving the right to break its compile-time API, and note that range deletions are the one feature still unticked.

Frequently asked questions

What is the best object storage option?

This repository does not rank object storage services. It says the engine supports any implementation of a trait from a separate crate, names S3, Google Cloud Storage, Azure Blob Storage, MinIO and Tigris as examples, and notes that the same crate is re-exported so you do not need a second dependency to construct one.

Can you give me an example of object storage?

The getting-started example constructs an in-memory implementation of the object storage trait rather than a network service, so the whole example runs without credentials or a bucket. Production differs only in which implementation of that trait is passed in when the database is opened.

Is S3 the same as object storage?

The project treats object storage as the category and S3 as one implementation of it. It names several services explicitly, then says and so on, and makes the point that any implementation of the storage trait works rather than only the ones listed.

What is the meaning of database storage?

That question is broader than this repository answers. What it documents is its own storage engine: a log-structured merge-tree where memory tables are flushed to object storage as string-sorted tables on a configurable interval, with block caches, compression, bloom filters and local disk caches on the read side.

Official sources

  1. License: Apache-2.0
  2. Project website
  3. README
  4. Releases
  5. slatedb/slatedb on GitHub
Add this badge to your README

If you maintain this project, the badge below links readers to this analysis and shows its maintenance status from the daily GitHub snapshot. Paste the markdown into your README; add ?metric=license or ?metric=stars to the image URL for a different field.

Add this badge to your README

markdown
[![Hysen Labs](https://hysenlabs.com/badge/slatedb-slatedb.svg)](https://hysenlabs.com/projects/slatedb-slatedb)

Star history chart for your README

markdown
[![Star history](https://hysenlabs.com/chart/slatedb-slatedb.svg)](https://hysenlabs.com/projects/slatedb-slatedb)

Was this useful?