CockroachDB Production Ready
Written by Kay Ewbank   
Friday, 19 May 2017

CockroachDB 1.0 has been released as the first open source, cloud-native SQL database. The announcement included details of $27 million new funds invested in the company behind CockroachDB.


cockroachdb

The developers say CockroachDB provides distributed SQL to accommodate ever-larger data sizes and multi-active availability, a new model for high availability (HA). They describe it as being cloud native because it offers horizontal scalability, no single points of failure, survivability, automatable operations, and no platform-specific encumbrances. In practical terms, this comes down to distributed SQL to make it usable for small and large requirements, with the ability of scaling between them; multi-active availability for always-consistent high availability; and flexible deployment supporting a wide range of environments.

The distributed SQL element of this comes from support for fully-distributed ACID transactions, zero-downtime schema changes, and support for secondary indexes and foreign keys. It works out of the box with many popular ORM frameworks because of its support for an industry standard SQL dialect. Release 1.0 also introduces a distributed query execution engine, so you can set up distributed JOINs to support analytics queries that speed up linearly as nodes are added to your cluster.

The developers recently demonstrated an application with Baidu processing 2 billion inserts a day for one of the top ten largest global internet companies. This rate of transactions continued regardless of artificially-induced “chaos” events, which caused significant concurrent re-replication and rebalancing across the cluster.

High Availability

The most important part of CockroachDB's high availability element is consistency, according to the developers. Unlike other products that rely on eventual consistency, it employs strongly-consistent consensus-based replication, which uses three or more active replicas, any of which can begin serving read/write client traffic. All the resources are utilized dynamically, and the documentation says that unlike the more common active-active replication, this type of availability will not read or write inconsistently and doesn’t require conflict resolution.

CockroachDB can be managed either with datacenter orchestration technologies like Kubernetes and Docker Swarm, or and even manually. It can run on premise or on any public cloud, deployed in hybrid cross-cloud configurations, and migrated between clouds with zero downtime. At the OpenStack Interop conference in Boston, CockroachDB was deployed live across 15 private clouds. A video of the demo is below:

 

 

Alongside the open source free version, the team announced a feature available specifically as part of the CockroachDB Enterprise offering: distributed, incremental backup and restore.

This feature is intended to serve customers with large data sets. The distributed backup / restore parallelizes backup and restore tasks across all nodes in the cluster. Data can be written to and restored from any configurable storage sink, such as blob stores offered by AWS, GCP, and Azure. A non-distributed option for backup / restore is available for free in the CockroachDB Core offering.

cockroachdb

More Information

CockroachDB

Related Articles

CockroachDB Released

To be informed about new articles on I Programmer, sign up for our weekly newsletter, subscribe to the RSS feed and follow us on Twitter, Facebook or Linkedin.

 

Banner


iOS 17.4 Released With Support For App Stores In The EU
06/03/2024

I have written about Apple's approach to complying with regulation, characterizing it as malicious compliance. It also seems that Apple is a master of creating the unintended consequence and letting i [ ... ]



JConference January 2024 Sessions Now Online
23/02/2024

The talks presented at the 4th JChampions Conference which took place between Jan 25 to Jan 30, are now available for free on YouTube. Topics ranged from Code and Tech to Career Advice.


More News

 

raspberry pi books

 

Comments




or email your comment to: comments@i-programmer.info

Last Updated ( Friday, 19 May 2017 )