June 2015 Summaries
2 posts from Cockroach Labs
Filter
Month:
Year:
Post Summaries
Back to Blog
CockroachDB employs the Raft consensus algorithm to maintain data consistency despite machine failures, but unlike systems like etcd and Consul which use a single Raft group, CockroachDB divides data into ranges, each with its own consensus group. This structure results in nodes participating in a vast number of consensus groups, creating unique challenges that are addressed by the MultiRaft layer, which manages all of a node's ranges collectively rather than independently. This approach reduces heartbeat traffic by ensuring that each pair of nodes only needs to exchange heartbeats once per tick, regardless of shared ranges, and enhances efficiency by requiring a constant, minimal number of goroutines. The implementation of this system benefits from collaboration with the etcd team from CoreOS, allowing CockroachDB to adapt the clean abstractions of etcd's Raft implementation to meet its specific needs and contribute improvements back to the community.
Jun 12, 2015
305 words in the original blog post.
Cockroach Labs, founded by former Google employees, aims to create a resilient, scalable, and user-friendly database system named CockroachDB, inspired by the adaptability and robustness of cockroaches. The founders' journey began with addressing the limitations of traditional databases during their tenure at Google, where they encountered issues like application-level sharding and the complexities introduced by the NoSQL movement. After leaving Google to work on a photo-sharing platform, they struggled with existing open-source infrastructure, which motivated them to develop CockroachDB as an open-source solution designed to handle vast amounts of data while maintaining consistency and ease of use. With its launch, CockroachDB invites developers to utilize and contribute to a platform that prioritizes simplification and seamless scalability.
Jun 04, 2015
547 words in the original blog post.