The most important new features in CockroachDB

CockroachDB was architected from the ground up to be cloud-native, so that it can scale elastically and survive any failure, natively, without any additional setup or configuration. Since its inception, the Cockroach Labs team has made regular updates and improvements to the distributed database. Today, this database helps thousands of developers more efficiently build data driven applications in the cloud and is the foundation of many of the game-changing applications that are driving the modern, digital economy.

The latest release, CockroachDB 20.2, includes support for spatial data and introduces a custom Kubernetes Operator. All the while, the team continues to improve the security and management capabilities of the database, along with considerable improvements to the overall performance of CockroachDB. Notably, with this release, the majority of these new capabilities are available in the free version of the database, CockroachDB Core.

CockroachDB on Kubernetes

Unlike traditional monolithic databases, CockroachDB was architected from the ground up to deliver on the core distributed principles of Kubernetes. Cockroach Labs defines the core principles of a Kubernetes-native database with four key descriptors: disposability, API symmetry, shared-nothing architecture, and horizontal scaling:

  • Disposability refers to the ability of a database to handle when processes stop, start, or crash with little-to-no notice.
  • API symmetry provides consistency of query responses to scale without disrupting existing application instances.
  • Shared-nothing ensures that a database can operate without any centralized coordinator or single point of failure.
  • Horizontal scaling gives the impression of a single database that magically becomes twice as powerful by scaling out linearly rather than exponentially.

With CockroachDB 20.2, Cockroach Labs is introducing CockroachDB on Kubernetes, which packages the distributed database with a new, open-source Kubernetes operator (currently in beta). Cockroach Labs has learned a lot about Kubernetes over the past few years by deploying and managing thousands of clusters on its own database-as-a-service, CockroachCloud. Now the team has packaged many of those learnings into a Kubernetes operator.

While legacy databases can run with Kubernetes, they are simply not designed to run on Kubernetes and fail to deliver on the ease of scale and resilience that this cloud-native platform provides. They hold back workloads from truly taking advantage of the platform.

With CockroachDB on Kubernetes, the relational database that provides your distributed services and applications in Kubernetes are efficiently orchestrated in the same environment. Building on Stateful Sets, you simply attach storage to each Kubernetes pod and CockroachDB handles scale, resilience and distribution of data. There is no need for additional, complex tasks to manage shards or deal with the inevitable pod failures.

Copyright © 2021 IDG Communications, Inc.

Source link