Featured Blog Texture

Blog

Engineering

Chaos Testing Cockroach Labs 1920

Engineering

Video Spotlight: “Chaos Testing – Behind CockroachDB’s Resilience”

Cockroach Labs’ Technical Evangelist Rob Reid just loves trying to break things, and our own cloud-native distributed SQL database is not immune from this impulse. He recently devoted screen time to pushing CockroachDB hard in tough conditions, just to watch it push back.

David Weiss

David Weiss

September 3, 2024

cockroachDB-UDFs-stored-procedures-thumbnail

Engineering

Product

How CockroachDB Implements UDFs and SPs

User-defined functions (UDFs) and stored procedures (SPs) allow users to define a set of queries that can be executed at the database by providing only the function or procedure name and any relevant parameters. They provide building blocks for users to compose complex queries, which makes applications less error prone since users don’t need to repeatedly provide the complex query. Another benefit of UDFs/SPs is that they enable better performance by moving more computation closer to the data. There are fewer round trips between the application and database to get the results the user wants.

drew kimball headshot

Drew Kimball

August 27, 2024

[THUMBNAIL] Enterprise Scale with CockroachDB, Deploying on Microsoft Azure

Azure

Engineering

Unlocking Enterprise Scale with CockroachDB: Deploying on Microsoft Azure

This is the second article in the series, Unlocking Enterprise Scale with CockroachDB on Microsoft Azure, where we help you utilize the best that CockroachDB on Azure has to offer. In this blog, we will explore different production options, deployment strategies, and key considerations for single-region and multi-region setups, while introducing key integrations with the Azure ecosystem.

david-joy

David Joy

August 20, 2024

MOLT Fetch Cockroach Labs PNG TWO

Engineering

Product

MOLT Fetch: The Best Way to Move Your Data to CockroachDB

After choosing CockroachDB as your next-generation storage system, you may wonder, “How do we move our organization’s data into CockroachDB?”

Ryan Luu Cockroach Labs

Ryan Luu

July 18, 2024

Azure series blog header

Engineering

Unlocking Enterprise Scale with CockroachDB on Microsoft Azure

Welcome to our new blog series, "Unlocking Enterprise Scale with CockroachDB on Microsoft Azure." We'll explore how CockroachDB, our cloud-native distributed SQL database, can be leveraged on Microsoft Azure to achieve unprecedented scalability, resilience, and performance for enterprise applications.

david-joy

David Joy

June 27, 2024

Cockroach Labs and mLogica

Engineering

A Powerful Partnership: How Cockroach Labs and mLogica Accelerate Mainframe and Legacy Database Modernizations

Moving past mainframes is a big decision, but it’s the right choice for a growing number of enterprises. The agility and scalability of cloud architectures are proving too advantageous for organizations to ignore, as they race to gain a competitive edge.

David Weiss

David Weiss

June 6, 2024

crdb-blog-Isolation-layers hero

Engineering

Admission Control in CockroachDB: How It Protects Against Unexpected Overload

Admission control is the system in CockroachDB that prioritizes work during different types of node overload. In a properly sized cluster, where the work does not exceed the resource capacity, all work proceeds uninterrupted and effectively receives equal priority.

jon st. jon

Jon St. John

May 14, 2024

RAFT 2

Engineering

Raft is so fetch: The Raft Consensus Algorithm explained through "Mean Girls"

Raft is a consensus algorithm used in distributed systems to ensure that data is replicated safely and consistently. That sentence alone can be confusing. Hopefully the analogy in this post can help people understand how it works. In honor of national Mean Girls day (“on October 3rd he asked me what day it was”), I present the Raft Consensus Algorithm as explained through the movie Mean Girls. (For a great, more technical overview of Raft, we recommend The Secret Lives of Data).

Mikael Austin

October 3, 2023

GC Mei-Li-Nieuwland-1

Engineering

How to optimize garbage collection in Go

After publishing \\[a post about why we chose Go for CockroachDB](https://www.cockroachlabs.com/blog/why-go-was-the-right-choice-for-cockroachdb/), we received questions about how we deal with some of Go’s known issues — especially those related to performance, garbage collection, and deadlocks.

jessica headshot

Jessica Edwards

September 26, 2023

retail-blog-header-12

Community

Engineering

Product

How to solve the `abandoned cart problem` using row-level TTL

We’ve all done it. Imagine you’re browsing around the AllSaints online shop, dreaming about refreshing your fall wardrobe. You find a couple items and add them to your cart. You continue browsing but then, for some reason, you don’t check out. Instead, you close the browser tab and move on. In the e-commerce world, this is what’s known as shopping cart abandonment.

aydrian

Aydrian Howard

July 26, 2023