Shiny new features

CockroachDB 2.0 is here: It’s all about speed!

© Shutterstock / ra2studio  

Less than a year since its 1.0 release, CockroachDB comes back with the release of its 2.0 version and, trust me, it looks really promising. Here, we have a look at all the new features.

CockroachDB is a distributed SQL database (NewSQL) created by Cockroach Labs. It is an open source project that was inspired by Google Spanner and as some have argued, it managed to outrun it! With this new release, CockroachDB promises to go even further with an increase of 500% of the response times! Let’s have a closer look at all the improvements and additions.

More speed!

JavaScript Object Notation (JSON) is the number one choice for all projects that need to avoid garrulous design planning and expensive schema migrations. By adding support for JSON, CockroachDB speeds up queries on giant volumes of data, eliminating the necessity to map out the types of requests that need to be processed in advance. According to the official release notes, fast development and rapid prototyping are what CockroachDB offers you.

I’m telling you, it’s all about speed!

Scalability can be a double-edged sword since the demand you created with your fancy application can cause the system to break down. By offering a unique approach to the issue, CockroachDB guarantees the highest level of data integrity in the SQL standard. In order to scale, developers have the ability to simply add more nodes to the cluster instead of adding special servers. Now, this feature was already available since the initial release of CockroachDB 1.0, however, the new release promises the best scalability and correctness tradeoffs available in any database; and they have the data to support it!

SEE ALSO: Are manual deployments causing bottlenecks in database delivery?

In the official release notes, the CockroachDB team includes the results of their first competitive benchmark on how the 2.0 release can increase the throughput and lowered latency on the industry standard for testing real-world transactional throughput (TPC-C). Comparing the volume of transactions per minute between CockroachDB 2.0 and Amazon Aurora, they end up with some very interesting results.

CockroachDB 2.0 outperforms Amazon Aurora by a significant margin and promises to assist you with managing growth without having to alter your system’s architecture.

Multi-regional is my middle name

Two new features included in the CockroachDB 2.0 release, change the way we handle multi-regional demand. From drilling down from regional summaries to individual nodes to getting hints on performance bottlenecks and stability problem areas, the new CockroachDB’ cluster dashboard offers quick solutions that will keep your multi-regional cluster run as smooth as melted chocolate!

What’s more, Geo-partitioning is added to the new release; that is a mighty tool that allows you to control where your data lives at the individual record level and its effective implementations is unique to CockroachDB 2.0.

CockroachDB 2.0 is the only database that provides fine-grained control over, and visibility into, distributed, relational data without incurring downtime or re-architecture as your business grows.

Nate Stewart

Overall, CockroachDB 2.0 offers some unique features and additions that can improve your data game. If this raised your interest, give it a try and let us know your impressions!

Eirini-Eleni Papadopoulou
Eirini-Eleni Papadopoulou was the editor for Coming from an academic background in East Asian Studies, she decided that it was time to go back to her high-school hobby that was computer science and she dived into the development world. Other hobbies include esports and League of Legends, although she never managed to escape elo hell (yet), and she is a guest writer/analyst for competitive LoL at TGH.

Inline Feedbacks
View all comments