Blog
Product
What is change data capture?
CockroachDB is an excellent system of record, but no technology exists in a vacuum. Some of our users would like to keep their data mirrored in full-text indexes to power natural language search. Others want to use analytics engines and big data pipelines to run huge queries without impacting production traffic. Still others want to send mobile push notifications in response to data changes without doing the bookkeeping themselves.
Daniel Harrison
April 21, 2023
System
How to build a highly available database for a multi-region architecture in 3 steps
Nearly every organization has critical systems that need to be up at least 99.99% of the time. Typically, these systems need to recover from downtime in seconds with no data loss while serving vital customers located across an entire country, many countries, or even continents.
Doug Weatherbee
April 17, 2023
applications
Why dating app Doubble matched with CockroachDB
It’s estimated that there’s over 380 million people across the globe that are active on online dating apps – and that number is only growing. In fact, the market for online dating services is projected to reach 9.2 billion USD by 2025. That’s a lot of swiping!
Cassie McAllister
April 16, 2023
Product
Why sharding is bad for business
My current employer uses sharded and replicated Postgres via RDS. Even basic things like deploying schema changes to every shard are an unbelievable pain in the ass, and changing the number of shards on a major database is a high-touch, multi-day operation. After having worked with Spanner in the past, it’s like going back to the stone age, like we’re only a step above babysitting individual machines in a closet. Nobody should do this. — HackerNews user GeneralMayhem
Michelle Gienow
April 12, 2023
Product
Vertical vs. horizontal scaling: What’s the difference and which is better?
So you need to scale. That’s a good problem to have! But should you scale up or scale out? There’s no easy answer, so let’s take a closer look at horizontal scaling vs. vertical scaling , how they compare, and what the pros and cons are for each approach.
Charlie Custer
April 10, 2023
applications
What is a multi-cloud database, and how to deploy one
Do you remember December 7, 2021? If you work in ops, you might – that’s one of the recent examples of a major public cloud region encountering serious issues, and breaking a large number of popular applications, from Disney+ to Ticketmaster, in the process. The outage was resolved, as they always are. But this, and other incidents like it, lay bare that even though the major public clouds can all offer solid uptime, relying on just one of them can still be costly. Even a short outage once every few years can cost millions when you’re operating at scale. According to a 2022 study from analyst firm Enterprise Management Associates (EMA) and AIOps company BigPanda, the average cost of downtime is $12,900 per minute. For large enterprises, the costs are even higher – often millions of dollars per hour, and that’s before you factor in all of the indirect costs such as reputational damage. That’s just one of the reasons why most companies are moving to or considering multi-cloud deployments.
Nikhil Benesch
April 6, 2023
Product
What is the CockroachDB Cloud API and why should you use It?
In this post you’ll learn about the CockroachDB Cloud API and how I’ve used it to create an application Dashboard with Next.js. Using the API you can build a custom interface to meet your organization’s needs, or perform various tasks relating to your database infrastructure. I’ll also explain how I’ve used NextAuth.js to create conditional authorization rules to facilitate greater control over the functionality. You can get a feel for what I’ve built using the links below. 🚀 Preview: https://www.cockroachlabs.com/demos/demo-cloud-api/ ⚙️ GitHub: https://github.com/cockroachdb/demo-cloud-api/
Paul Scanlon
April 5, 2023
System
How to calculate your true database costs
Before the dominance of the cloud, calculating the cost of a database was a pretty simple equation: software costs + hardware costs = database costs. If you chose an open source product, the software cost might melt away. While the cloud has fundamentally changed how we consume and deploy software, too many people are still using this outdated calculation. The truth is, there are a lot more things to consider when pricing out the total cost of a database. The hardware and software costs are still there, but you also need to think about the price of scaling the database, of integrating with your existing and future systems, and of planned–or unplanned–downtime.
Dan Kelly
April 4, 2023
System
How to make backups faster and more cost-effective with Wasabi
Database practitioners are always in pursuit of new ways to streamline operating costs. The total cost of database ownership can be broken down essentially into the license cost, the storage cost, and the compute cost. There are dozens of other soft and hard costs that are well worth considering and are covered in depth in this cost of ownership report, but the focus in this blog is the reduction of storage costs.
Alex Entin
March 31, 2023