etcd vs SQLite for a control plane: Tailscale's migration

Published 2026-10-19 · Built only from first-party engineering write-ups in our database. Every number below comes from the linked source.

Tailscale's post is the direct comparison: it replaced etcd with SQLite plus Litestream replication for a simpler control-plane datastore. SQLite shows up at scale elsewhere too: Cloudflare's D1 manages millions of SQLite databases at the edge, and Notion caches data in the browser with WASM SQLite.

etcd vs SQLite: side by side

etcdSQLite
Stories in our database14
CompaniesTailscaleCloudflare, Discord, Notion and Tailscale
Published20222022–2026
Techniques alongside itdatabase migration (1), replication (1), simplification (1)client-side caching (1), control plane separation (1), database migration (1), database operations automation (1)
Scale numbers stated in sourcesNone statedmillions of databases (Cloudflare); dozens of clusters, hundreds of database nodes (Discord)
Direct comparison storyTailscale: Switching from etcd to SQLite: A Database Migration Story(same story)

Verdict

Tailscale picked simplicity for one control-plane datastore. That's a different job from a multi-node consensus store, so read the post before copying the move.

Counts are stories in How They Scaled tagged with each side, see the SQLite pages. They describe what these teams wrote about, not market share or benchmark results.

The direct comparison

SQLite in other scaling stories

FAQ

Why did Tailscale switch from etcd to SQLite?

Tailscale's post describes replacing etcd with SQLite plus Litestream replication to get a simpler control-plane datastore.

Does SQLite scale?

In our database, Cloudflare's D1 runs millions of SQLite databases with a separate control plane, and Tailscale runs its control-plane datastore on SQLite with Litestream.

The best scaling write-ups, weekly

One email a week. No spam.

Subscribe

More comparisons

All comparisons →