Blog
Product
How to create a Lambda function with Python and CockroachDB Serverless
Do you love thinking about servers? Most developers don’t. That’s why serverless platforms such as AWS Lambda, which lets you run functions in the cloud without having to think about servers, have become so popular. Running your code in the cloud doesn’t truly free you from thinking about servers unless you’re also using a serverless database, though. Amazon itself offers a serverless database called Amazon Aurora Serverless, but what if you prefer the advantages that CockroachDB offers, or simply want to avoid vendor lock-in with your database in case you choose to migrate to a different cloud in the future?
Charlie Custer
March 8, 2022
Product
Selecting a startup stack for scale
“Do things that don’t scale.” That YCombinator mantra may be the single most common piece of advice given to early-stage tech startups. And with good reason – it’s great advice! But if you follow it, with a little luck you’ll reach a point where it no longer applies (at least on a technical level).
Charlie Custer
February 28, 2022
Product
Data cardinality in a distributed DB: Lessons from a betting app
How can you get great performance out of your database when huge numbers of users are going to be submitting queries within the space of a few minutes or seconds?
Charlie Custer
February 18, 2022
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 Custer
December 8, 2021
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 Custer
November 22, 2021
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
November 16, 2021
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
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
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 Custer
November 3, 2021