Blog
Engineering
Why CockroachDB runs managed services on Kubernetes
*Note: this post originally ran in 2020, at the very beginning of our managed service/multi-tenant engineering journey. If you want an update on what kind of deployment models CockroachDB offers and what our current capabilities are check out our latest release blog. There’s this really fun game I like to play. You get a bunch of SREs in a room and you see how quickly you can rile them up. Here are some things to say next time you’re in a room of SREs:
Josh Imhoff
October 20, 2022
Case Studies
Kubernetes
Scale & Resilience
Gaming Development
How Devsisters made uptime a core requirement for their games
For Devsisters, Cookie Run: Kingdom has been a particularly tasty success. The game has amassed more than ten million downloads, and handles hundreds of thousands of concurrent users. At peak traffic hours, it is sometimes processing 60,000 transactions per second. In this blog we’ll get into the architecture that supports a viral video game platform.
Charlie Custer
October 19, 2022
System
Automated database operations with Terraform
Automation tools like HashiCorp Terraform solve an important problem: they remove the burden of manual processes like the creation of cloud infrastructure or the deployment of applications. Terraform does this by allowing you to define the desired state of your infrastructure or application, and when you run the software, will talk to the relevant APIs of the requested service provider. It will then make the desired changes to deploy or amend the required infrastructure to deliver the desired outcome (this is called Infrastructure as Code (IaC)).
Mike Bookham
October 17, 2022
Case Studies
How Shipt built a distributed payments system from the ground up
Building a payment system is a challenging proposition. The potential pitfalls can be subtle, and the price for getting something wrong is high. Shipt is a company that has obviously gotten it right. You probably know Shipt as a grocery delivery service, but the ecommerce company has several other businesses and fulfills all of the orders placed on its parent company Target’s website.
Charlie Custer
October 12, 2022
How we built a serverless SQL database
We recently announced general availability (GA) for Serverless, with support for change data capture (CDC), backup and restore, and a 99.99% uptime SLA. Read on to learn how CockroachDB Serverless works from the inside out, and why we can give it away for free – not free for some limited period, but free. It required some significant and fascinating engineering to get us there. I think you’ll enjoy reading about it in this blog or watching the recent presentation I gave with my colleague Emily Horing:
Andy Kimball
October 11, 2022
Product
How we built a serverless SQL database
We recently announced general availability (GA) for Serverless, with support for change data capture (CDC), backup and restore, and a 99.99% uptime SLA. Read on to learn how CockroachDB Serverless works from the inside out, and why we can give it away for free – not free for some limited period, but free. It required some significant and fascinating engineering to get us there. I think you’ll enjoy reading about it in this blog or watching the recent presentation I gave with my colleague Emily Horing:
Andy Kimball
October 11, 2022
Product
Which GCP instances are best for OLTP workloads?
Choosing the right instance type for your workload can be a tricky proposition. It’s not always clear how a particular configuration is going to perform for your workload, and running the tests to find out is time consuming and expensive.
Charlie Custer
October 10, 2022
Product
No time to live: James Bond explains row-level time to live
“Do you know what time it is? Time to die.” -Nomi That’s it. That’s row-level TTL in a James Bond nutshell. Which is appropriate given that today is James Bond Day. You probably don’t need to read further than that one quote from Nomi (possibly the next 007?). Because you get it now. But row-level TTL has been one of our most requested features dating back to 2017. It’s rare for issues on our github to get this many votes. So I hope you’ll forgive me for indulging in this metaphor a bit longer.
Dan Kelly
October 5, 2022
applications
Two real-world examples of serverless applications
*June 2023 Update - As of CockroachDB 23.1 our serverless deployment now has multi-region capabilities. You can read more detail in our documentation. A year ago the leaves were turning and we wrote, “serverless databases are the future”. Well, now serverless databases are the present. It’s true that the serverless database will continue to mature towards its eventual destiny as an API endpoint in the cloud. But the serverless version of CockroachDB is now generally available with advanced capabilities like change data capture (CDC), backup and restore, a management API, and a 99.99% uptime SLA.
Dan Kelly
October 4, 2022