Data Engineering Podcast

CockroachDB In Depth with Peter Mattis - Episode 35


Listen Later

Summary

With the increased ease of gaining access to servers in data centers across the world has come the need for supporting globally distributed data storage. With the first wave of cloud era databases the ability to replicate information geographically came at the expense of transactions and familiar query languages. To address these shortcomings the engineers at Cockroach Labs have built a globally distributed SQL database with full ACID semantics in Cockroach DB. In this episode Peter Mattis, the co-founder and VP of Engineering at Cockroach Labs, describes the architecture that underlies the database, the challenges they have faced along the way, and the ways that you can use it in your own environments today.

Preamble
  • Hello and welcome to the Data Engineering Podcast, the show about modern data management
  • When you’re ready to build your next pipeline you’ll need somewhere to deploy it, so check out Linode. With private networking, shared block storage, node balancers, and a 40Gbit network, all controlled by a brand new API you’ve got everything you need to run a bullet-proof data platform. Go to dataengineeringpodcast.com/linode to get a $20 credit and launch a new server in under a minute.
  • For complete visibility into the health of your pipeline, including deployment tracking, and powerful alerting driven by machine-learning, DataDog has got you covered. With their monitoring, metrics, and log collection agent, including extensive integrations and distributed tracing, you’ll have everything you need to find and fix performance bottlenecks in no time. Go to dataengineeringpodcast.com/datadog today to start your free 14 day trial and get a sweet new T-Shirt.
  • Go to dataengineeringpodcast.com to subscribe to the show, sign up for the mailing list, read the show notes, and get in touch.
  • Your host is Tobias Macey and today I’m interviewing Peter Mattis about CockroachDB, the SQL database for global cloud services
  • Interview
    • Introduction
    • How did you get involved in the area of data management?
    • What was the motivation for creating CockroachDB and building a business around it?
    • Can you describe the architecture of CockroachDB and how it supports distributed ACID transactions?
      • What are some of the tradeoffs that are necessary to allow for georeplicated data with distributed transactions?
      • What are some of the problems that you have had to work around in the RAFT protocol to provide reliable operation of the clustering mechanism?

      • Go is an unconventional language for building a database. What are the pros and cons of that choice?

      • What are some of the common points of confusion that users of CockroachDB have when operating or interacting with it?

        • What are the edge cases and failure modes that users should be aware of?

        • I know that your SQL syntax is PostGreSQL compatible, so is it possible to use existing ORMs unmodified with CockroachDB?

          • What are some examples of extensions that are specific to CockroachDB?

          • What are some of the most interesting uses of CockroachDB that you have seen?

          • When is CockroachDB the wrong choice?

          • What do you have planned for the future of CockroachDB?

          • Contact Info
            • Peter
              • LinkedIn
              • petermattis on GitHub
              • @petermattis on Twitter

              • Cockroach Labs

                • @CockroackDB on Twitter
                • Website
                • cockroachdb on GitHub

                • Parting Question
                  • From your perspective, what is the biggest gap in the tooling or technology for data management today?
                  • Links
                    • CockroachDB
                    • Cockroach Labs
                    • SQL
                    • Google Bigtable
                    • Spanner
                    • NoSQL
                    • RDBMS (Relational Database Management System)
                    • “Big Iron” (colloquial term for mainframe computers)
                    • RAFT Consensus Algorithm
                    • Consensus
                    • MVCC (Multiversion Concurrency Control)
                    • Isolation
                    • Etcd
                    • GDPR
                    • Golang
                    • C++
                    • Garbage Collection
                    • Metaprogramming
                    • Rust
                    • Static Linking
                    • Docker
                    • Kubernetes
                    • CAP Theorem
                    • PostGreSQL
                    • ORM (Object Relational Mapping)
                    • Information Schema
                    • PG Catalog
                    • Interleaved Tables
                    • Vertica
                    • Spark
                    • Change Data Capture
                    • The intro and outro music is from The Hug by The Freak Fandango Orchestra / CC BY-SA

                      Support Data Engineering Podcast

                      ...more
                      View all episodesView all episodes
                      Download on the App Store

                      Data Engineering PodcastBy Tobias Macey

                      • 4.6
                      • 4.6
                      • 4.6
                      • 4.6
                      • 4.6

                      4.6

                      135 ratings


                      More shows like Data Engineering Podcast

                      View all
                      Software Engineering Radio - the podcast for professional software developers by se-radio@computer.org

                      Software Engineering Radio - the podcast for professional software developers

                      272 Listeners

                      The Changelog: Software Development, Open Source by Changelog Media

                      The Changelog: Software Development, Open Source

                      283 Listeners

                      The Cloudcast by Massive Studios

                      The Cloudcast

                      153 Listeners

                      Thoughtworks Technology Podcast by Thoughtworks

                      Thoughtworks Technology Podcast

                      41 Listeners

                      Data Skeptic by Kyle Polich

                      Data Skeptic

                      483 Listeners

                      Talk Python To Me by Michael Kennedy

                      Talk Python To Me

                      592 Listeners

                      Software Engineering Daily by Software Engineering Daily

                      Software Engineering Daily

                      624 Listeners

                      The TWIML AI Podcast (formerly This Week in Machine Learning & Artificial Intelligence) by Sam Charrington

                      The TWIML AI Podcast (formerly This Week in Machine Learning & Artificial Intelligence)

                      444 Listeners

                      Super Data Science: ML & AI Podcast with Jon Krohn by Jon Krohn

                      Super Data Science: ML & AI Podcast with Jon Krohn

                      298 Listeners

                      Python Bytes by Michael Kennedy and Brian Okken

                      Python Bytes

                      213 Listeners

                      DataFramed by DataCamp

                      DataFramed

                      266 Listeners

                      Practical AI by Practical AI LLC

                      Practical AI

                      190 Listeners

                      The Stack Overflow Podcast by The Stack Overflow Podcast

                      The Stack Overflow Podcast

                      64 Listeners

                      The Real Python Podcast by Real Python

                      The Real Python Podcast

                      140 Listeners

                      Latent Space: The AI Engineer Podcast by swyx + Alessio

                      Latent Space: The AI Engineer Podcast

                      77 Listeners