Featured Blog Texture

Blog

View all

roachmates onboardingatcockroachlabs

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

Cassie McAllister

April 16, 2023

foreign-key-3

Engineering

Database schema: SQL schema examples and best practices

In the context of a database and how it’s organized, the term database schema describes the structure of the data and how the elements within the database relate to each other. This information is often presented visually with diagrams that illustrate how different tables and elements connect and to give you a logical view of the entire database. However, the schema itself exists in the database as the coded rules that define the data’s structure and relationships.

charlie

Charlie Custer

April 13, 2023

sharding web

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

Michelle Gienow

April 12, 2023

Webinar image for LP desktop Scale Happens

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

Charlie Custer

April 10, 2023

cross-cloud-deployment-by-zoe-van-dijk-1

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

cloud-api-demo-featured-image-50

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/

1465706

Paul Scanlon

April 5, 2023

Regulatory Compliance Worth Cost-1

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.

1536574967915

Dan Kelly

April 4, 2023

reduce-storage-costs-with-wasabi-and-cockroachdb

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

bounded-staleness-

Engineering

An epic read on follower reads

In this post we’re going to talk about one of the techniques that can be used in CockroachDB for getting good performance from databases accessed from multiple geographical regions: follower reads. These are operations presenting a slightly stale view of data, which can be served with local latencies from different regions.

Andrei Matei

March 29, 2023

Page 18 of 74

Get started for Free

bg callout one