Featured Blog Texture

Blog

View all

Tutorials

Building an application with CockroachDB and SQLAlchemy

CockroachDB’s support for SQLAlchemy is currently in beta, but we’re actively developing new features to improve the integration. You can find the documentation here. One of the great things about CockroachDB’s support for SQL is the wide variety of frameworks and tools for working with SQL data. Today, we’ll demonstrate this by building a simple application in Python, using SQLAlchemy and Flask.

Ben Darnell

Ben Darnell

June 1, 2016

Community

Running CockroachDB on DC/OS

This week, Mesosphere Developer and Cloud Advocate Michael Hausenblas made it his mission to run CockroachDB on DC/OS. He covers the experience of using CockroachDB’s Docker image, ramping up a DC/OS cluster, and testing data ingestion and querying in a post on Medium. The TL;DR? “It’s awesome.”

Community

Handling NULL Values in CockroachDB

CockroachDB contributor Paul Steffensen (aka uptimeDBA) has analyzed CockroachDB’s handling of NULL values as compared to the SQL standard and other SQL implementations. He shares his analysis in his blog post “I’ve got nothing. NULL handing in CockroachDB.” You can read the full post here.

nestedtransactionsincockroachdb 2

System

Trust, but verify: How CockroachDB checks replication

We built survivability into the DNA of CockroachDB. And while we had a lot of fun doing so, and are confident that we have built a solution on a firm foundation, we felt a nagging concern: Does CockroachDB really survive? When data is written to the database, will a failure really not end up in data loss? So to assuage those concerns, we adopted a Russian maxim: “Dovorey, no provorey – Trust, but Verify.”

Vivek Menezes

May 19, 2016

crl-socialpost-default-2020-2

System

A tale of two ports | Cockroach Labs

CockroachDB is pretty easy to deploy. We’ve done our best to avoid the need for configuration files, mandatory environment variables, and copious command line flags, and it shows; we’ve already had testimonials from folks who were able to deploy a 20-node cluster in just half a day. That’s something to be proud of! However, there is still one wrinkle in the fabric, and that’s our use of network ports. As of this writing, CockroachDB requires two ports, but why, and can we do better?

Tamir Duberstein

May 11, 2016

Isolation in CockroachDB serializability graph simple txn history

System

Serializable, lockless, distributed: Isolation in CockroachDB

Editor's Note: This post was originally authored when CockroachDB was pre-1.0. CockroachDB's architecture has undergone many changes since then. One of the most significant, as it relates to this post which focuses on our previous "lockless" design, is that we now use more locking and lock-like structures to provide SERIALIZABLE isolation. For more current details about CockroachDB's transaction model, read our transaction layer architecture documentation.

Matt Tracy

May 4, 2016

highavailabilityincockroachdb blog art by christinachung-1

Culture

From 5 to 500: Lessons learned hiring for startups

Most founders agree that one of the greatest challenges that they face isn’t raising money or closing deals or finding partners. It’s finding people. In particular, finding great people who are interested and eager to take a chance on a startup. Turns out, hiring for startups is hard.

Lindsay Grenawal

Lindsay Grenawalt

April 27, 2016

Choosing-Index-Keys

System

Index selection in CockroachDB

In an earlier post we discussed how CockroachDB maps SQL table data and table indexes to key-value storage. In this post, we will go over some of the factors involved in choosing the best index to use for running a certain query.

Radu Berinde

April 21, 2016

10bxhb

testing

DIY Jepsen testing CockroachDB

We at Cockroach Labs absolutely love Aphyr’s work. We are avid readers of the Jepsen series – which some know as a high quality review of the correctness and consistency claims of modern database systems, but which we really know as “Aphyr’s hunting tales about the highest profile bugs in our industry.” Most of us read each new blog entry with a mix of thrill, excitement, and curiosity about which new system will be eviscerated and which exotic error will be discovered next.

Raphael Kena Poss

April 14, 2016

Page 75 of 86

Get started for free

bg callout one