Featured Blog Texture

Blog

The Cockroach Labs Blog

live-betting-on-acid-gambling-database

Engineering

Live betting on ACID: Challenges of building a next-gen gambling app

Imagine you’re watching a baseball game. In the middle of the fifth inning, your pitcher throws a strike, and then another one. The fan sitting next to you jumps to his feet in jubilant celebration. You could be forgiven for wondering what’s going on. After all, it takes three strikes to get a batter out – why is this guy dancing like the game is already over?

charlie

Charlie Custer

December 14, 2021

sports-betting-blog-header-a

Product

Move fast and don’t break things: The best database for gambling apps

Online gambling is one of the fastest-growing industries on the planet, with the market expected to be worth more than $127 billion by 2027. But it’s also a very challenging vertical for app development.

charlie

Charlie Custer

December 8, 2021

automated-rebalance-by-rebekka-dunlap

Engineering

Automated alert and aggregation rule generation for CockroachDB metrics

Like all software systems, metrics are crucial for understanding the inner workings of a system and getting a pulse on how that system is functioning. Any monitoring and debugging framework is incomplete without metrics.

Rima Deodhar

December 7, 2021

treesplease casestudy

applications

How TreesPlease Games builds gaming infra with CockroachDB Serverless

The gaming industry is all about delivering a great end-user experience which means building relationships with players that last years, not days. They can do this by instilling predictability, reliability, and creating a strong brand by giving players what they want: a new and better gaming experience each time. However, the success of a new game or platform is often unpredictable. A game can become successful overnight and the amount of concurrent players can surge within a few hours causing slowdowns or the inability to login. Or the game may never reach a certain level of popularity that it needed to see a ROI.

Cassie McAllister

Cassie McAllister

December 3, 2021

what-is-connection-pooling

Engineering

What is connection pooling, and why should you care

As a developer, you may not have spent a lot of time thinking about database connections. A single database connection is not expensive, but as things scale up, problems can emerge. So let’s (ahem) dive into the world of connection pooling, and take a look at how it can help us build more performant applications, especially when we’re operating at scale.

charlie

Charlie Custer

November 30, 2021

react-sample-app

applications

How to build a complete web app with React, TypeScript, and CockroachDB

As cloud-native web developers, we want to build apps that scale easily. Databases are often a pain point, though. We want the structure and data integrity of relational databases like PostgreSQL, but we also want the easy scalability of NoSQL databases like MongoDB. Until recently, we’ve been forced to choose one or the other. Fortunately, CockroachDB provides the best of both worlds. It’s a robust relational database with full SQL support and all of the features you’d expect in an enterprise-ready database. It supports the PostgreSQL wire protocol, so you can use it with most tools and libraries that support Postgres. But that’s not all: it offers excellent scalability, so you no longer have to choose between relational data integrity or NoSQL scalability. And, if you use CockroachDB Serverless, you don’t have to worry about hosting and scaling a database yourself — so you can focus your efforts on building great apps. This tutorial will show you how to start from scratch and build a modern cloud-native web app using TypeScript, React, Prisma, Netlify serverless functions, and CockroachDB.

Rain Leander

November 29, 2021

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

Page 59 of 101

Get started for free

Black texture 05
© 2026 Cockroach Labs. All rights reserved.