Software:CockroachDB

From HandWiki
Short description: Distributed database management system
CockroachDB
Original author(s)Spencer Kimball, Peter Mattis, Ben Darnell
Developer(s)Cockroach Labs
Initial release2015; 9 years ago (2015)
Stable release
23.1.1 / May 18, 2023; 9 months ago (2023-05-18)
Written inGo
Available inEnglish
TypeRDBMS
Licensemultiple
Cockroach Labs, Inc.
TypePrivate
IndustrySoftware
Founded2015; 9 years ago (2015)
FounderSpencer Kimball, Peter Mattis, Ben Darnell
HeadquartersNew York City
Key people
Spencer Kimball (CEO)
Peter Mattis (VP of Engineering)
Ben Darnell (CTO)
Nate Stewart (Chief Product Officer)
Lindsay Grenawalt (Chief People Officer)
ServicesCommercial database management systems
Websitecockroachlabs.com

CockroachDB is a commercial distributed SQL database management system developed by Cockroach Labs.[1][2]

History

Cockroach Labs was founded in 2015 by ex-Google employees Spencer Kimball, Peter Mattis, and Ben Darnell. Kimball and Mattis had been key members of the Google File System team,[3] while Darnell was a key member of the Google Reader team.[4]

While at Google, all three had used Google-owned DBMS’s Bigtable and its successor, Spanner.[2] After leaving Google, they wanted to design and build something similar.[5] Spencer Kimball wrote the first iteration of the design in January 2014, and began the open-source project on GitHub in February 2014, allowing outside access and contributions.[6]

Development on GitHub attracted substantial contributions, which earned the project the Open Source Rookie of the Year award by Black Duck Software.[7]

The co-founders actively supported the project with conferences, networking, meet-ups, and fund-raising financial rounds.

In June 2019, Cockroach Labs announced that CockroachDB would change its license from the free software license Apache License 2.0 to its source-available license, known as the Business Source License (BSL), which forbids “offer[ing] a commercial version of CockroachDB as a service without buying a license,” while remaining free for community use.[8][9]

Features

CockroachDB stores copies of data in multiple locations to deliver speedy access.[5][10]

It is described as a scalable, consistently-replicated, transactional data store.[11] A single instance can scale from a single laptop to thousands of servers. [2]

CockroachDB is designed to run in the cloud and has a high fault tolerance. According to popular news outlets, it is described as “almost impossible” to take down. [12][13][10]

CockroachDB has a consistency model that is designed to match as closely as possible to the capabilities of Google Spanner, but without a dependence on specialized hardware for time synchronization. "No stale reads" is the simplest way to describe this consistency model which has deliberately made the trade-off of having non-linearizable transaction histories.[14] Transactions containing overlapping keys are guaranteed to have external consistency. And so, in practice, systems relying on CockroachDB are very unlikely to reproduce consistency issues because nodes with high variations in clock skew can be removed from clusters, applications can rely on external consistency provided by overlapping keys and writing to the same range, and writes propagate changes to followers' timestamp caches.[15]

See also

References

  1. Ovide, Shira (June 4, 2015). "CockroachDB Scampers Off With $6.3 Million to Tackle Database Shortcomings". The Wall Street Journal. https://blogs.wsj.com/digits/2015/06/04/cockroachdb-scampers-off-with-6-3-million-to-tackle-database-shortcomings/. 
  2. 2.0 2.1 2.2 Finley, Klint (June 4, 2015). "Ex-Googlers Get Millions to Help You Build the Next Google". Wired. https://www.wired.com/2015/06/cockroach-labs/. 
  3. Metz, Cade (July 10, 2012). "Google Remakes Online Empire with 'Colossus'". Wired. https://www.wired.com/2012/07/google-colossus/. 
  4. Wauters, Robin (July 28, 2009). "Steal! Ben Darnell Leaves Google Reader Team, Joins FriendFeed". TechCrunch. https://techcrunch.com/2009/07/28/steal-ben-darnell-leaves-google-reader-team-joins-friendfeed/. 
  5. 5.0 5.1 Novet, Jordan (June 4, 2015). "Peter Fenton's latest investment is a database startup called Cockroach". VentureBeat. https://venturebeat.com/2015/06/04/peter-fentons-latest-investment-is-a-database-startup-called-cockroach/. 
  6. Ewbank, Kay (June 9, 2015). "CockroachDB Released". https://www.i-programmer.info/news/84-database/8672-cockroachdb-released.html. 
  7. Finleey, Klint (January 28, 2015). "These are the hottest new open-source projects right now". Wired. https://www.wired.com/2015/01/black-duck-rookies/. 
  8. Mattis, Peter; Darnell, Ben; Kimball, Spencer (June 4, 2019). "Why We're Relicensing CockroachDB". https://www.cockroachlabs.com/blog/oss-relicensing-cockroachdb/. 
  9. "CockroachDB Community License" (in en-US). https://www.cockroachlabs.com/cockroachdb-community-license/. 
  10. 10.0 10.1 Babcock, Charles (June 4, 2015). "CockroachDB: Ultimate in Database Survival". InformationWeek. https://www.informationweek.com/big-data/software-platforms/cockroachdb-ultimate-in-database-survival/d/d-id/1320700. 
  11. Darfler, Benjamin (August 29, 2014). "CockroachDB: A Scalable, Geo-Replicated, Transactional Datastore". InfoQ. https://www.infoq.com/news/2014/08/CockroachDB/. 
  12. Finley, Klint (July 22, 2014). "CockroachDB is the resilient cloud software built by ex-Googlers". Wired. https://www.wired.co.uk/news/archive/2014-07/22/cockroachdb. 
  13. Finley, Klint (July 21, 2014). "Out in the Open: Ex-Googlers Building Cloud Software That's Almost Impossible to Take Down". Wired. https://www.wired.com/2014/07/cockroachdb/. 
  14. Matei, Andrei. "CockroachDB's consistency model". https://www.cockroachlabs.com/blog/consistency-model/. 
  15. Cordell, Evan. "The One Crucial Difference Between Spanner and CockroachDB". https://authzed.com/blog/prevent-newenemy-cockroachdb. 

External links