Why Netflix Runs a Fleet of 380+ CockroachDB Clusters
2024-09-23
Description
Netflix needed a high availability, scalable SQL database with multi-active topology. The solution? CockroachDB-as-a-Service that’s available to all Netflix developers who require a highly available, scalable, and consistent relational database. https://cockroa.ch/4gsYVwa As Netflix’s user base and product offerings have continued to grow and expand since they first implemented CockroachDB-as-a-Service, many teams within Netflix have come to know CockroachDB as the database solution for applications requiring data consistency, high availability, region failover, and more. At Netflix, developers have the freedom to choose their own tech stack. The Online Datastores team, which Shengwei Wang is a part of, manages the various database offerings that Netflix developers can choose from. Developers don’t need to determine the right technology or manage it on their own – instead Wang’s team delivers the infrastructure and provides recommendations based on their use case’s needs. Since Netflix began offering CockroachDB-as-a-Service, the team has not looked back. Different business units are building different applications, and many have selected CockroachDB as their database backend, from device management and data/ML workflow orchestration to gaming. To go behind the scenes of Netflix's engineering team, we sat down with Software Engineers Ram Srivatsa Kannan and Shengwei Wang. Why Netflix Runs a Fleet of 380+ CockroachDB Clusters 00:00 Databases should abstract complexity 00:15 Inside Netflix's Data Platform Team 00:52 How Netflix deploys CockroachDB at scale 01:12 The flexibility of CockroachDB 01:37 The benefits of using a multi-region CockroachDB cluster 02:27 CockroachDB configuration best practices