Catalogue / tailscale-2021-control-plane-state

Tailscale keeps control-plane state in one rewritten JSON file, then moves it to etcd

Tailscale. Control plane (CONTROL).

Organisation
Tailscale
Evidence
Reported from production
Source
An unlikely database migration

Tailscale, published 2021-01-13

Records

Decision#d1

Hold all state in memory behind one lock and rewrite a single JSON file on every change

Decision#d2

Replace the rewritten JSON file with etcd as a minimal database for a single-process control plane

Sign in to read what was chosen, what was rejected and what it cost, each with its place in the source. An account is free.