TL;DR
Get the latest gadgets delivered free — and shop member deals
- Fast, free delivery on millions of items
- Access to Prime Big Deal Days deals on October 6–7
- Prime Video, Amazon Music and more included
The Pragmatic Engineer published an interview with Peter Mattis, Cockroach Labs co-founder and CTO, on distributed databases, storage engineering and AI-assisted coding. Mattis discusses lessons from Gmail and Google’s storage systems, including B-trees and erasure coding; the episode also covers his view that AI has brought him back to writing code after a shift toward management.
The Pragmatic Engineer has published an interview with Peter Mattis, co-founder and CTO of Cockroach Labs, about distributed database design, storage systems and AI-assisted software development. Mattis draws on work at Google and Cockroach Labs to discuss how engineers balance speed, reliability and correctness as systems operate at scale.
In the episode, Mattis traces a career that includes co-creating GIMP with college roommate Spencer Kimball, working on Gmail and distributed storage at Google, and helping found Cockroach Labs. The interview connects those experiences to practical engineering choices: how data is indexed, how storage systems protect data, and how software teams reason about performance limits.
One example concerns Gmail’s early storage layer. According to the episode, B-trees tracked email threads and unread counts, while the search index helped associate incoming messages with existing threads. Mattis also discusses Google’s move from the Google File System to Colossus. The source says Colossus used Reed–Solomon erasure coding to store data with two copies rather than three full copies, while increasing redundancy. It reports a 33% reduction in Google’s file-storage overhead, though it does not specify the measurement method or period.
The interview also turns to AI and coding. Mattis says AI has brought him back to writing code after his work shifted toward management, and the episode describes him as feeling more productive without a drop in quality. Those are his experience and the interview’s framing, not results from a controlled evaluation. The discussion considers how AI may affect code review and offers advice on developing engineering skills.
Storage Choices Shape Database Reliability
The examples show why distributed database engineering involves more than choosing a fast data structure. Indexing and storage layouts affect how quickly systems can find and update information, while redundancy methods affect both resilience and the amount of storage required. Those tradeoffs matter to organizations that run services where downtime, data loss or slow responses carry operational costs.
Mattis’s account also gives readers a view of how earlier infrastructure work informs database design today. The interview does not present a new product launch or a benchmark of CockroachDB; its value is in explaining engineering decisions and lessons through a practitioner’s career. His comments on AI are relevant to software teams weighing whether coding tools can extend the work of experienced engineers, but the material does not establish a general productivity result.
distributed database management system
As an affiliate, we earn on qualifying purchases.
As an affiliate, we earn on qualifying purchases.
From GIMP to Google Storage
Mattis and Kimball created GIMP, the open-source image editor, before Mattis joined Google. The source says the first version of Google’s logo was made using GIMP. Mattis initially declined an offer from Sergey Brin because of the commute from San Francisco to Mountain View; after another startup did not work out, he accepted a later opportunity to join Google.
At Google, Mattis worked on Gmail and distributed storage. The source describes B-trees as a recurring tool: they were used in Gmail’s handling of threads and unread counts, and similar tree structures informed performance work on data structures. It also says Mattis built a B-tree with semantics close to C++’s std::map that used less memory and performed faster in the cases discussed. Later, he developed a Swiss Table implementation of Go’s map; the Go team helped complete work that was incorporated into the language’s library.
The conversation connects those experiences to CockroachDB, where the source notes that B-trees appear in the range index. It also discusses latency and physical limits on communication, including how network round-trip times within a zone have changed over time. These are interview examples rather than a full technical specification of either Google’s systems or CockroachDB.
“There’s always going to be someone else working on your idea.”
— Peter Mattis, as quoted in The Pragmatic Engineer interview
enterprise storage system hardware
As an affiliate, we earn on qualifying purchases.
As an affiliate, we earn on qualifying purchases.
Limits of the Interview’s Evidence
The source is an interview and does not provide an independent evaluation of Mattis’s claims about productivity or code quality. It gives no benchmark, sample size or comparison period for the reported storage-overhead reduction, and it does not detail the conditions behind the performance comparisons of data structures. The publication date is also not included in the supplied material.
The episode summary does not set out a new CockroachDB release, roadmap or change in database architecture. It is not clear from the supplied text how Mattis’s AI-assisted coding workflow is configured, how code quality is assessed, or how much of his reported productivity change comes from AI rather than other factors.
As an affiliate, we earn on qualifying purchases.
Where to Hear the Discussion
The episode is available through YouTube, Apple and Spotify, according to The Pragmatic Engineer. The publication also points readers to a transcript and episode timestamps on its page. The supplied source does not announce a follow-up, product milestone or further research; any additional claims about Mattis’s AI workflow or the systems discussed would need to come from the full interview or later reporting.
As an affiliate, we earn on qualifying purchases.
Key Questions
What is the news about Peter Mattis?
The Pragmatic Engineer published an interview with Mattis, Cockroach Labs co-founder and CTO, about distributed databases, storage engineering and AI-assisted coding.
What does the interview say about B-trees?
It describes B-trees in Gmail’s early storage layer and discusses related data-structure work at Google and in CockroachDB. The examples concern indexing and performance; the source does not claim that every distributed database uses B-trees.
What did Colossus change compared with GFS?
The source says Colossus, Google File System’s successor, used Reed–Solomon erasure coding and stored data twice rather than keeping three full copies. It reports 33% lower file-storage overhead alongside increased redundancy, without giving the measurement details.
Does the interview prove AI makes software engineers more productive?
No. Mattis describes feeling more productive while using AI and says his code quality has not dropped. The supplied material presents this as his experience, not a controlled study or a result established for engineers generally.
Source: rss
Fall Picks
fall essentials
As an affiliate, we earn on qualifying purchases.
