NewSQL Databases Gaining Traction

NewSQL databases like CockroachDB and Yugabyte are reportedly gaining favor for building distributed systems. The appeal lies in their ability to provide distributed ACID compliance—ensuring data consistency at scale—without the complexities of traditional solutions like sagas or two-phase commits.

The term "NewSQL" was first coined in 2011 by 451 Group analyst Matthew Aslett to describe a new wave of database management systems. These systems aim to offer the horizontal scalability of NoSQL databases while retaining the ACID guarantees for transactional consistency found in traditional SQL databases. Before NewSQL, high-traffic systems faced a difficult choice: scale up with expensive, powerful single servers for traditional relational databases, or adopt NoSQL and deal with eventual consistency, which isn't suitable for applications like financial ledgers or e-commerce inventory management. NewSQL databases are designed to run on a cluster of shared-nothing nodes, distributing data and processing across multiple servers. Both CockroachDB and YugabyteDB are inspired by Google's Spanner and utilize the Raft consensus algorithm to replicate data and coordinate transactions across these distributed nodes. This architectural approach ensures that even if some nodes fail, the database remains available and data remains consistent. Both also use RocksDB as their per-node storage engine. While architecturally similar, a key difference lies in their approach to SQL compatibility. YugabyteDB reuses PostgreSQL's query layer, offering high compatibility with its features like stored procedures and triggers. CockroachDB, on the other hand, has built its SQL layer from the ground up and provides PostgreSQL wire compatibility. The NewSQL market saw significant growth, reaching an estimated valuation of $3.5 billion in 2023, with projections expecting continued expansion. This growth is fueled by the increasing need for real-time analytics, the rise of cloud-native applications, and the modernization of legacy systems that require greater scalability without a complete rewrite. Industries with high online transaction processing (OLTP) workloads, such as finance, e-commerce, gaming, and telecommunications, are prime candidates for NewSQL adoption. These applications are characterized by a large volume of short, repetitive transactions that access small amounts of indexed data. Looking ahead, trends in the NewSQL space include deeper integration with edge computing, increased use of AI and machine learning for data analysis, and the emergence of serverless database models that automatically manage scaling. This continued evolution positions NewSQL as a critical component for building scalable and reliable applications.

Get your own daily briefing

Scout delivers personalized news, insights, and conversations tailored to your role and industry.

Download on the App Store

Shared from Scout - Be the smartest in the room.