Featured Blog Texture

Blog

Product

crl-blog-global

Product

Tutorial: How to simulate a multi-region CockroachDB cluster on localhost with Docker

Simulating a CockroachDB cluster can be an incredibly useful tool for testing, training, and development work. It's an easy process that you can perform directly on localhost using Docker. Today's blog post is a tutorial by Cockroach Labs enterprise architect Fabio Ghirardello on how to simulate a multi-region CockroachDB cluster on localhost.

Fabio Ghirardello

October 2, 2020

Teamwork Teambuilding Peeracks collaboration

Product

Build a Go App with upper/db and CockroachDB

upper/db is a data access layer written in Go with ORM-like features. It's compatible with PostgreSQL, MySQL, SQLite, MongoDB, and now, CockroachDB! I am very pleased to announce that our CockroachDB adapter is now in beta and ready to be used!

José Nieto

September 29, 2020

CRUniverstiy blog-post-1

Product

New Cockroach University course: CockroachDB for Python Developers

Today, we are excited to introduce our second Cockroach University course: CockroachDB for Python Developers. This course is designed for application developers looking to advance their education with CockroachDB and learn how to build scalable, resilient applications and services. Similar to our inaugural Getting Started course, this free course includes a series of videos, exercises, and a final exam. However, this course is much more hands-on. You will build a full-stack vehicle-sharing application called MovR in Python using the popular SQLAlchemy ORM. Our goal is for students to walk away from this course feeling confident in building fully-functional applications with CockroachDB.

Will Cross

September 29, 2020

crdb-orm.jpg

Product

How we built a CockroachDB dialect for Hibernate

This post was originally published in 2017, upon announcing that CockroachDB’s support for Hibernate was in beta. Today, we’re excited to announce some big news: the CockroachDB dialect for Hibernate is officially available! 🥳 Hibernate now offers first-class support for CockroachDB. You can read more about the dialect, and our journey to get there, in this blog post.

Jordan Lewis

September 17, 2020

K8s-Concept-4

Product

How to run a software-as-a-service on Kubernetes

The first version of CockroachDB Dedicated, our database-as-a-service product, had our users fill out a Google doc with their cloud deployment preferences. We’ve come a long way since that initial proof of concept (including, yes, building a UI). More importantly, we’ve put implementation patterns in place that make something complicated (like configuring a cloud deployment) scalable. As we’ve written about before, choosing to run CockroachDB Dedicated on Kubernetes is a huge part of that implementation pattern.

Charlotte Dillon

September 14, 2020

crdb-blog-1-Copy

Product

CockroachDB and Spring tutorials for Spring Data JDBC, JPA, and MyBatis

From our enterprise customers to developer shops, a lot of folks use CockroachDB to back their Spring applications. It’s no surprise; Java is the most widely used programming language in the world, running in over 3 billion devices. And no matter what kind of application you’re running, the Spring ecosystem provides different data access patterns depending on your needs. We’ve recently added tutorials for a number of Spring data access patterns: Spring Data JDBC, Spring Data JPA, and MyBatis. Check them out below.

Meagan Goldman

Meagan Goldman

August 10, 2020

crdb-orm.jpg (1)

Product

Build a Python app with SQLAlchemy + CockroachDB

One of the great things about CockroachDB’s support for SQL is the ecosystem of frameworks, ORMs, and other tools for working with SQL data. SQLAlchemy is just one of the ORMs in that ecosystem, and one we use quite a bit for Python projects. You’ll find it referenced in some of our sample application docs, and our upcoming “CockroachDB for Python Developers” course has students use SQLAlchemy and Flask in projects.

Meagan Goldman

Meagan Goldman

July 28, 2020

CRL BlogHeader Zero-downtimeScaling

Product

Distributed SQL: A cloud-native, scalable Postgres alternative

Gartner predicts that by 2022, 75% of all databases will be deployed in the cloud. The findings shouldn’t come as a surprise: on-premise data centers are slowly being phased out as companies realize the many benefits to running a database in the cloud.

Charlotte Dillon

July 23, 2020

Join-Ordering-Part-2

Product

Using lateral joins for business analytics in CockroachDB 20.1

CockroachDB’s 20.1 release supports lateral joins, which can dramatically reduce the lines of code needed to arrive at key business analytics. Today, I’m going to walk you through a demo of lateral joins and showcase how you might use them to run analytic queries directly in CockroachDB.

Andy-Woods

Andy Woods

July 16, 2020