Founding Cockroach Labs and early customers

Distributed databases with Peter Mattis

Topic 8 of 13

Published Sep 30, 2026 · Clip 44:14–52:21 (8:07)

Peter explains the difference between distributed storage systems (large append-only files, e.g., Colossus) and distributed databases (small typed rows), and how Spanner was built on Colossus with immutable files leading to LSM trees, popularized via LevelDB and reimplemented as Pebble at Cockroach Labs. He recounts how he, Spencer Kimball, and Ben Darnell conceived the CockroachDB design back at Viewfinder, shelved it, then developed it part-time at Square before spinning it out. He describes taking VC money right away, praises VCs as sharp advisors, explains the cockroach name (unkillable database), and discusses early customer demand driven by outages and hitting single-instance limits, with manual sharding burdening application developers.