Featured Blog Texture

Blog

View all

blog4 (1)

System

What is SELECT FOR UPDATE in SQL (with examples)?

Relational databases are great for transactional workloads. But things can get messy when multiple transactions start trying to access the same data at the same time. Luckily, in many SQL databases there’s a solution for that: SELECT FOR UPDATE.

charlie

Charlie Custer

June 27, 2022

django-tutorial

applications

How to build a multi-region Python app with CockroachDB, Django, and K8s

Learn how to make your Python application multi-region. And then learn how to domicile data at the row level for better application performance and compliance with regulations.

Mike Bookham

June 27, 2022

ugly-sweater-blog

Product

Best practices for building a pain-free metadata store

What is metadata, exactly? Metadata is data about other data. That’s a very broad definition, though. When you start trying to get specific, it can get murky pretty quickly. In our experience with our customers, we see “metadata” commonly used to describe two different sorts of use cases

charlie

Charlie Custer

June 24, 2022

banking

Product

Can I scale fast? Reliably? Globally?

We depend on financial companies and services to help us navigate just about everything — to the point where they’re basically a form of critical infrastructure, at least existentially speaking. (Try to imagine getting through the rest of your day right now if your credit card froze or your financial services were suddenly unavailable. Do you have enough cash on you to buy lunch, or a ticket/tank of gas to drive home?). In such a complex and far-reaching sector, there are many ways things can go wrong. And, unfortunately, as your platform/application/services grow, the number of possible stress points scales right along with them.

 Michelle Gienow

Michelle Gienow

June 23, 2022

crl blogheader selectforupdate

Product

The OpenTelemetry Collector as a platform for monitoring integrations

Over the past year, Cockroach Labs has been working hard to give our observability tooling some extra love. When it comes to monitoring our cloud products, such as CockroachDB Dedicated, meeting our customers where they are is one of our primary goals. Many organizations already have a platform in place to monitor their systems, and we’d like them to feel right at home when it comes to monitoring their CockroachDB cluster. But with so many platforms available in the ever-changing observability market today, like Datadog, Amazon CloudWatch, and more, how do we stay flexible in our observability tooling? The popular tools of today are not guaranteed to stand the test of time. Therefore, we need a platform for third party monitoring integrations that’s flexible enough to support both the platforms of today, as well as those of tomorrow. For Cockroach Labs, we chose the OpenTelemetry Collector to serve as such a platform and to integrate with Datadog as the first of what we hope to someday be a substantial library of third party integrations. This blog post discusses the capabilities of the OpenTelemetry Collector and how we introduced it into our cloud infrastructure.

Alex Barganier

June 16, 2022

2022-cloud-report-launch

Product

AMD vs. Intel and more: What’s new in the 2022 Cloud Report

The 2022 Cloud Report is finally here, and we think it was worth the wait! In this completely free 70+ report, you’ll find the results of over 3,000 OLTP test runs analyzing 56 different instance types across AWS, GCP, and Azure for performance and price, as well as hundreds of additional runs benchmarking CPU performance, network latency and throughput, and storage. Want a little taste of what’s inside? For the first time ever, we saw machines with AMD chips eclipse Intel: instance types with the latest-gen AMD Milan CPUs took the top spots for both performance and price-for-performance in our OLTP benchmarking.

charlie

Charlie Custer

June 13, 2022

super-rgions-blog-header

Product

Super regions: Safe and simple multi-region data domiciling

For operators, architects and developers alike, data domiciling can be one tough technical nemesis. Privacy regulations like GDPR create strict requirements where data can live in the world. To meet these requirements companies traditionally had to run separate databases in different geographic regions. This results in a huge operational overhead and reliability also takes a hit, since it can be hard to guarantee region survival while complying with data domiciling restrictions.

 Michelle Gienow

Michelle Gienow

June 13, 2022

22.1-admission-control (1)

Design

Here's how CockroachDB keeps your database from collapsing under load

In CockroachDB v21.2 we introduced a new admission control and resource allocation subsystem, and in our most recent release (v22.1) we’ve made substantial improvements. In this blog post, we’ll cover the improvements made to admission control, including a description of the generally applicable mechanisms we developed, which should be relevant for any distributed transactional database with multi-node transactions.

Sumeer Bhola

June 6, 2022

availability 4

Product

Cloud integration made easy: CockroachDB and Google Pub/Sub

Have you ever wanted to stream data from your database without having to install additional resources that require more time and energy to maintain? Just recently, I spoke with a {person who shall remain nameless} about how they wanted to dump new data to a file, move it from one cloud provider to another, and then place it in storage for consumption by downstream systems. There was more to it and it hurt my head to listen. I had only one question for {person to remain nameless} “When did you start hating your fellow coworkers?” I mean, really… other people will have to maintain that mess.

jeff-carlson

Jeff Carlson

June 3, 2022

Page 28 of 74

Get started for Free

bg callout one