cockroachdb / docs

CockroachDB user documentation
https://cockroachlabs.com/docs
Creative Commons Attribution 4.0 International
188 stars 458 forks source link

Recommend homogenous nodes #4791

Closed jseldess closed 1 year ago

jseldess commented 5 years ago

Jesse Seldess commented:

It's somewhat common knowledge, internally, that CockroachDB does better when nodes are running across homogenous machines. We should document this recommendation, why and to what extent it's important, and the drawbacks of heterogeneous machines.

Jira Issue: DOC-273

keith-mcclellan commented 5 years ago

honestly, we should probably do some testing on the impact of heterogeneity on performance... we're going to have some in multi-cloud deployments. But 100% agree we should recommend that the nodes be as similar as possible.

bdarnell commented 5 years ago

As a simple rule of thumb, a heterogenous N-node cluster can be expected to perform as if it were N copies of its slowest node. It's possible to exceed this with careful use of zone configs to ensure that hot data is constrained to the faster nodes, but this is basically uncharted territory.