Английская Википедия:CockroachDB

Материал из Онлайн справочника
Перейти к навигацииПерейти к поиску

Шаблон:Multiple issues Шаблон:Short description Шаблон:Use mdy dates Шаблон:Infobox software Шаблон:Infobox company

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

Шаблон:Reflist

External links