Featured Blog Texture

Blog

View all

video-glitch-media-blog-entertainment-streaming-1

Product

How Netflix engineers choose their tech stack

Large enterprises with hundreds of developers building thousands of applications and services have a suite of database options to choose from. They also typically have a full team dedicated to maintaining these offerings. The saying “use the best tool for the job” is why they offer so many options, since different workloads have different requirements. Over the past few years, the “best tools” have changed because of the increasing demand on infrastructure generated by business-critical, high-volume, workloads.

Cassie McAllister

Cassie McAllister

May 18, 2023

blog4

System

What are user-defined functions (UDFs) in SQL, and why should you care?

When people think about improving application performance, they’re often thinking of cleaning up the code in the application layer. However, the database layer can also be optimized to improve application performance, and so can the ways in which these two layers – application and database – interact with each other.

charlie

Charlie Custer

May 18, 2023

data-residency-featured-image

Product

The Art of Data Residency and Application Architecture

In this post Rob and I explain how we built Silo, a fully functioning multi-region Next.js application combining CockroachDB multi-region serverless and a multi-region Node.js (Lambda) API backed by a Geographically aware Route 53 Hosted Zone. Both the API and CockroachDB have been deployed to AWS. The Next.js app has been deployed using Vercel. There are a number of reasons why you’d want to choose a multi-region strategy; to optimize latency, maintain high availability and, in some cases, to comply with regional regulations. But, rather than tell you about the benefits, I’d like to show you.

robreid

Rob Reid

May 17, 2023

crl-sprint2023-blog-post-1

Product

Introducing CockroachDB dedicated on Azure, on-demand global clusters, & more

Today we released a series of exciting updates to give you even more flexibility to run CockroachDB how you want, where you want, more efficiently than ever before. Customers often tell us they want the benefits of the cloud (elastic scale, consumption-based costs, operational ease of managed services, etc.), without the drawbacks of being locked-in to a single provider’s platform or proprietary services. We built CockroachDB from the beginning to maximize flexibility and control while still delivering the automation and efficiency we have all come to expect from cloud-native tools. The new capabilities we’ve made available today strengthen those values.

Meagan Goldman

Meagan Goldman

May 16, 2023

dachtera-camp-roach-2023-176

Culture

Inc. Magazine honors Cockroach Labs on Best Workplaces List 2023

The last year has been a year of growth for Cockroach Labs for many different reasons. We grew in size, maturity, and knowledge. The strength and resilience of our community continue to be the bond that keeps our fire ignited and propels us forward.

Lindsay Grenawal

Lindsay Grenawalt

May 9, 2023

anonymous case-study-1

Product

Upsert in SQL: What is an upsert, and when should you use one?

Upserts are useful for anyone who works with a database to know, but the term “upsert” might not even appear in your DBMS’s documentation! So what is an upsert, anyway? And why might it not be mentioned in your docs?

charlie

Charlie Custer

May 8, 2023

multi-region-how-by-rebekka-dunlap-1

Product

REGIONAL BY ROW: Let the database home the data

When building a multi-region application, one of the first things to consider is how and where data will be placed. For example, when building a gambling application deployed across the country, you want to make sure users have quick access to their data no matter their location. Gamblers and the platforms they use both need low latency access to real-time data. It can make or break the user experience. This is an easy example because money is won and lost, but the requirement for applications to deliver low latency experiences to a global user base is obviously applicable to every other industry as well.

Peyton Walters

May 8, 2023

foreign-key-2

Engineering

What is a foreign key? (with SQL examples)

A foreign key is a column or columns in a database that (e.g. table_1.column_a) that are linked to a column in a different table (table_2.column_b). The existence of a foreign key column establishes a foreign key constraint – a database rule that ensures that a value can be added or updated in column_a only if the same value already exists in column_b.

charlie

Charlie Custer

May 4, 2023

highavailabilityincockroachdb blog art by christinachung-1

Design

A recipe for disaster recovery (including disaster prevention in practice)

Disasters are expensive. Hilariously expensive. In my career as a software engineer, I’ve employed a bunch of technologies and witnessed most of them - in some way - fail and cause downtime. Downtime (and the thought of downtime), alongside Toilet Time Debugging™, are among the endless reasons a Software Engineer may struggle to switch off.

robreid

Rob Reid

May 2, 2023

Page 19 of 76

Get started for free

bg callout one