A new database designed to scale, survive disasters, be always consistent, and support abstractions has been released by ex-Google developers.
CockroachDB has been named in honor of the sheer resilience of its insect namesake. As the co-founders of Cockroach Labs, Spencer Kimball, Peter Mattis and Ben Darnell, say in their inaguaral blog post:
"If you can get past their grotesque outer aspect, you’ve got to give them credit for sheer resilience. You’ve heard the theory that cockroaches will be the only survivors post-apocalypse? Turns out modern database systems have a lot to gain by emulating one of nature’s oldest and most successful designs. Survive, replicate, proliferate. That’s been the cockroach model for geological ages, and it’s ours too."
The developers say they developed a healthy appreciation for the difficulties of scale while working at Google, and started Cockroach Labs with a clear objective:
"build the database we’d been itching after for years, and build it as open source, from the start. The mission is simple, but as big and as broad as any we could happily commit to: Make Data Easy."
The claims made for CockroachDB are certainly impressive enough. It can, according to the developers, transparently manage scale with an upgrade path from a single node to hundreds. You can add capacity to the cluster by starting new storage containers and CockroachDB automatically rebalances existing data. If you kill a container, CockroachDB re-replicates its data from available sources. It self-organizes, self-heals, and automatically rebalances.
CockroachDB uses majority consensus between replicas to achieve consistency. You can configure consistent replication can be configured within or across datacenters for high availability. The blog says you can upgrade, patch, or restart without applications noticing. Under the covers this all makes use of Raft, the Paxos successor.
CockroachDB also implements efficient, fully-serializable distributed transactions. The developers say you can stop using external locking mechanisms or half measures like CAS or "lightweight" transactions, and just build your applications.
The software is open source, and you can find it, and join in as a contributor, on Github. The claims for the database are impressive, it’ll be interesting to see whether it lives up to the promises and how it evolves.
More Information
Related Articles
Asterix DB – Big Data Management System
To be informed about new articles on I Programmer, install the I Programmer Toolbar, subscribe to the RSS feed, follow us on, Twitter, Facebook, Google+ or Linkedin, or sign up for our weekly newsletter.
ASP.NET Core 10 Preview Released
31/03/2025
Microsoft has announced the second preview release of .NET 10 with enhancements across the .NET Runtime, SDK, libraries, C#, ASP.NET Core, Blazor, and .NET MAUI.
Software Security Report Finds Third Party Code Most Problematic
12/03/2025
The latest edition of Veracode's annual State of Software Security report has identified that 80% of the applications tested over the last year have at least one security flaw, and just u [ ... ]
- Kotlin 2.1.20 Boosts Plugin Support
- Pi Day 2025 - The Mystery Of Infinity
- AlexNet Source Code Now Open Source
- Making Money From Subscription Apps
- Apple Adds Swift Version Manager
- Edera Protect Expands Security Model
- Perl Back In TIOBE Top 10
- GNU Head Drawing Fetches 40ドルK
- LeetGPU - The CUDA Challenges
- MongoDB Acquires Voyage AI To Add Embedding Models
- Django 5.2 Adds Composite Key Support
- Google Introduces Gemini Canvas
- IEEE Computer Society Computer Pioneer Award
Comments
or email your comment to: comments@i-programmer.info