Featured Blog Texture

Blog

View all

cdc-tuning-feature

Change data capture: Fine-tuning changefeeds for performance and durability

Whether you are streaming to an analytics platform for business intelligence or building event-driven services, CockroachDB’s change data capture (CDC) capabilities are powerful and adaptable to your application needs. But how can you leverage your changefeed setup to get the performance that best fits your application? Most changefeed settings & cluster settings outlined here will have some tradeoff associated with them. Going in, you should have an understanding of what you are targeting and compromises you are willing to make. We recommend testing your configuration under your workloads!

Abbey Russell

November 23, 2021

what-is-db-contention

Product

What is database contention, and why should you care?

Dealing with slow database performance? One potential cause of this problem is database contention. Even if you’re not struggling with a slow database right now, database contention is important to understand. The contention monster often doesn’t rear its ugly head until an application has reached significant scale. It’s best to be prepared, so in this article we’re going to look at both how to avoid contention issues and how to diagnose and resolve them when they do arise. But first, we have to understand what they are.

charlie

Charlie Custer

November 22, 2021

268d7ea7-6621-40b9-9f98-ecbcca8bb93e

Culture

Equitable family support: How Cockroach Labs includes all parents

Building a great company culture includes offering strong benefits to employees and great benefit programs that are comprehensive, transparent, and clearly defined. Cockroach Labs excels at this in many regards, and our Parental Leave and Family Support are no exception. CRL understands that every family is unique, recognizing the importance of extending eligibility to not only the birth of an employee’s biological child, but also to any employee who is in the process of adopting or fostering. The support is robust, starting before a parent’s leave period and continuing well after the employee returns to work. With that said, I would be remiss if I didn’t outline what’s “on the books” to support our employees as they prepare for their new addition: - Comprehensive planning and checklist in preparation for leave - $500 baby bucks to put towards essentials - Benefits support through Cocoon and family support resources through Cleo - 12 weeks Parental Leave + 2 weeks paid PTO - Flexibility to utilize leave all at once or in 1-week increments within first 12 months - ReRoachmate pairing upon return (fellow parent Roacher to meet with) - 12 weeks of Family Fridays upon return (20% of time dedicated to spending with family) - #little-roachers Slack channel for parents to share, discuss, and support each other With a parental leave program for all parents, we make it possible for parents of every gender to share in the joys and responsibilities of welcoming a child. The fact that parents have up to a year to take leave after welcoming their new family member allows Roachers and their families flexibility in arranging childcare, too. That said, policies are only meaningful if they are supported, normalized, and championed. And this is the difference between simply describing our Parental Leave policy and actually telling my Parental Leave journey and experience. So here’s my story..

Dave Delaney

November 17, 2021

crl-solutions-diagram-kubernetes 1020x475@2X

Tutorials

How to run CockroachDB on Kubernetes

Managing resilience, scale, and ease of operations in a containerized world is largely what Kubernetes is all about—and one of the reasons platform adoption has doubled since 2017. And as container orchestration continues to become a dominant DevOps paradigm, the ecosystem has continued to mature with better tools for replication, management, and monitoring of our workloads. And as Kubernetes grows, so does CockroachDB as we’ve recently simplified some of the day 2 operations associated with our distributed database with our Kubernetes Operator. Ultimately, however, our overall goal in the cloud-native community is singular: ease the deployment of stateful workloads on Kubernetes.

alex profile

Alex Robinson

November 17, 2021

crdb-21-2-announcement

Product

CockroachDB 21.2 release: Delivering an improved developer experience and easier ops at scale

Today we released our latest version, CockroachDB 21.2. Our customers turn to CockroachDB for a highly scalable and resilient relational database — but they also value a familiar and comfortable developer experience, simple integrations with their preferred stack, and easy operations. In CockroachDB 21.2, we’ve extended our capabilities with these core principles in mind:

Meagan Goldman

Meagan Goldman

November 16, 2021

sports-betting-blog-header-a

Product

Risk vs. reward: Real money gambling application architecture

In the first week of the 2021 NFL season, a bettor was famously one win away from a $727k payday on an 16 leg parlay. The problem? They lost. In a parlay, your position is only as strong as your weakest bet. The bettor’s downfall was relying on the overmatched Detroit Lions. When it comes to sports gambling, what the bettor doesn’t see is the technology that powers these user-facing applications that make or break their payday. Building a real money gambling application is actually much more complicated than it seems. Not only do you need a stable, reliable payment processing system, but you also need a real-time processing engine that can support millions of concurrent users who are placing bets at the same time.

Anthony Rossini

November 15, 2021

gdpr qa christinachung-1

Product

What is SOC 2? How to obtain a SOC 2 Report

I was hired as the compliance manager at Cockroach Labs in November 2020 to help support the compliance workstreams that sprawl across multiple business units. Compliance can be a daunting task for organizations, even if they have a mature security posture, as compliance and security are often linked together but they are not the same thing. Cockroach Labs completed our first SOC 2 Type II audit in April 2021. In this blog post, I will cover details about: What compliance is, When organizations should start to think about compliance, What are common the compliance frameworks that organizations will be audited against, Where to start your company’s compliance journey, and How Cockroach Labs built a set of internal controls to be audited against SOC 2 Type II Trust Services Criteria.

Adam Brennick

November 11, 2021

cockroach google cloud

applications

Build a simple image recognition engine with Google ML and CockroachDB

In this codelab, we will walk through the process of creating an image recognition engine. Its primary purpose will be to identify employees entering a building who may or may not be wearing a mask. Understanding how many employees are wearing a mask at any point in time could assist with return-to-office scenarios and possible contact tracing. This in turn would enhance building safety and awareness.

jeff-carlson

Jeff Carlson

November 8, 2021

blog-header-serverless-architecture

Product

When to use a serverless database, and when NOT to

Serverless databases are the future. The rise of the serverless database means that developers can enjoy the benefits of traditional relational databases — ACID compliance, familiar SQL, etc. — together with the advantages of serverless databases — elastic scaling, consumption-based billing, bulletproof resilience, etc.

charlie

Charlie Custer

November 3, 2021

Page 35 of 74

Get started for Free

bg callout one