Skip to main content

Cockroach University: Geo-Partitioning

In this Cockroach University lesson titled “Geo-Partitioning”, you’ll learn how consensus is impacted by write-latency when replicas are physically far apart. Then we’ll look at how to adjust the location of data to reduce this latency. In this lesson, you will learn to: •Identify the primary cause of write-latency in a distributed cluster •Describe, in a basic way, how to use localities to keep relevant data close to the application in a distributed cluster. •Explain how CockroachDB can separate a table into different replication zones •Partition a table •Set zone constraints for each partition of the table •Identify which nodes have which replicas Learn more about CockroachDB by signing up for free training at Cockroach University: https://university.cockroachlabs.com/ --------------------------------------------------------------------------------------------------------------------------- Reference Links •Table Partitioning: https://www.cockroachlabs.com/docs/stable/partitioning.html (CockroachDB Docs) •Geo-Partitioned Replicas: https://www.cockroachlabs.com/docs/stable/topology-geo-partitioned-replicas.html (CockroachDB Docs) •Low-Latency Reads and Writes in a Multi-Region Cluster: https://www.cockroachlabs.com/docs/dev/demo-low-latency-multi-region-deployment.html (CockroachDB Docs) •Enterprise License Trial: https://www.cockroachlabs.com/pricing/start-trial/ (Cockroach Labs) --------------------------------------------------------------------------------------------------------------------------- Careers: https://www.cockroachlabs.com/careers CockroachCloud: https://www.cockroachlabs.com/product/cockroachcloud/ Blog: https://www.cockroachlabs.com/blog/ Docs: https://www.cockroachlabs.com/docs/stable/ Community Slack: https://cockroa.ch/Welcome-to-Slack Twitter: https://twitter.com/CockroachDB