There are three ways of running CockroachDB: self-hosted, CockroachDB Cloud and CockroachDB serverless.
Daniel Holt discusses the pros and cons of each on the .tech podcast hosted by Form3’s Kevin Holditch.
Daniel goes through some common use cases and how CockroachDB can help you implement them.
Here are some key highlights of this episode.
The elevator pitch of CockroachDB is that it is a horizontally scalable, relational database.
CockroachDB bridges the gap between the existing database offerings. It gives you a SQL database that is Postgres dialect compatible, ACID compliance and horizontally scalability by adding more nodes. It can also be run in any public and private cloud provider, or any hardware.
CockroachDB provides serialializable isolation, which protects from all data anomalies.
In a cluster, nodes use RAFT based consensus. Nodes must agree on the value of the data before it is written, offering immediate consistency. This is especially important for industries like Form3, where we deal with payments data which must be absolutely consistent.
CockroachDB presents itself as a normal relational database with a SQL API, but under the bonnet it splits up the data into key-value stores and moves them across nodes. It uses forked version of RocksDB, which is a consistent key value store, and then allocates the data across the cluster nodes. This makes it easy to add and remove nodes from the CockroachDB cluster.
There are a few different ways to run CockroachDB:
Written by
Adelina is a polyglot engineer and developer relations professional, with a decade of technical experience at multiple startups in London. She started her career as a Java backend engineer, converted later to Go, and then transitioned to a full-time developer relations role. She has published multiple online courses about Go on the LinkedIn Learning platform, helping thousands of developers up-skill with Go. She has a passion for public speaking, having presented on cloud architectures at major European conferences. Adelina holds an MSc. Mathematical Modelling and Computing degree.
Here are some other resources that you might find interesting:
Dan Wendlandt, the CEO of Isovalent joins host Kevin Holditch for a discussion on the product they have created Cilium. Join them to learn how Cilium leverages eBPF to give your kubernetes cluster superpowers! These superpowers include cluster meshing (global kubernetes services across multiple clusters), lightning fast networking (no iptables), pod network security which can be scoped to a pod identity and include rules for both inside and outside of cluster and full network observability. Dan takes me through how Cilium enables all of these features.
CockroachDB is a cloud native global database, built from the ground up to be run as a truly global database. In this episode our host Kevin Holditch is joined by Daniel Holt of Cockroach Labs to take a deep dive into CockroachDB. They cover the use case for CockroachDB, deployment topologies, how it works under the bonnet plus a lot more.