Original author(s)Spencer Kimball, Peter Mattis, Ben Darnell
Developer(s)Cockroach Labs
Initial release2015 (2015)
Stable release
23.1.1 / May 18, 2023 (2023-05-18)
Repository
Written inGo
Available inEnglish
TypeRDBMS
Licensemultiple
Cockroach Labs, Inc.
TypePrivate
IndustrySoftware
Founded2015 (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. Retrieved February 22, 2020.
  2. 1 2 3 Finley, Klint (June 4, 2015). "Ex-Googlers Get Millions to Help You Build the Next Google". Wired. Retrieved February 22, 2020.
  3. Metz, Cade (July 10, 2012). "Google Remakes Online Empire with 'Colossus'". Wired. Retrieved February 22, 2020.
  4. Wauters, Robin (July 28, 2009). "Steal! Ben Darnell Leaves Google Reader Team, Joins FriendFeed". TechCrunch. Retrieved February 22, 2020.
  5. 1 2 Novet, Jordan (June 4, 2015). "Peter Fenton's latest investment is a database startup called Cockroach". VentureBeat. Retrieved February 22, 2020.
  6. Ewbank, Kay (June 9, 2015). "CockroachDB Released". I Programmer. Retrieved February 22, 2020.
  7. Finleey, Klint (January 28, 2015). "These are the hottest new open-source projects right now". Wired. Retrieved February 22, 2020.
  8. Mattis, Peter; Darnell, Ben; Kimball, Spencer (June 4, 2019). "Why We're Relicensing CockroachDB". CockroachLabs.com. Retrieved February 22, 2020.
  9. "CockroachDB Community License". Cockroach Labs. Retrieved July 28, 2020.
  10. 1 2 Babcock, Charles (June 4, 2015). "CockroachDB: Ultimate in Database Survival". InformationWeek. Retrieved February 22, 2020.
  11. Darfler, Benjamin (August 29, 2014). "CockroachDB: A Scalable, Geo-Replicated, Transactional Datastore". InfoQ. Retrieved February 22, 2020.
  12. Finley, Klint (July 22, 2014). "CockroachDB is the resilient cloud software built by ex-Googlers". Wired. Archived from the original on May 14, 2015. Retrieved February 22, 2020.
  13. Finley, Klint (July 21, 2014). "Out in the Open: Ex-Googlers Building Cloud Software That's Almost Impossible to Take Down". Wired. Retrieved February 22, 2020.
  14. Matei, Andrei. "CockroachDB's consistency model".
  15. Cordell, Evan. "The One Crucial Difference Between Spanner and CockroachDB".
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.