GCP recommended hardware question


First of all, thanks for all the hard work that’s gone into this product!

My question is around the recently updated hardware recommendation section of your docs: https://www.cockroachlabs.com/docs/stable/recommended-production-settings.html#gce

For GCP, you mention using Local SSDs: https://cloud.google.com/compute/docs/disks/#localssds

That last link has a pretty anxiety-inducing section:

Warning: The performance gains from Local SSDs require certain trade-offs in availability, durability, and flexibility. Because of these trade-offs, local SSD storage is not automatically replicated and all data on the local SSD may be lost if the instance terminates for any reason

If local SSDs pose such a durability risk, what is the motivation for recommending them? Is that idea that if an entire host or two go down, Cockroach’s replication should maintain availability? I guess my question really is, are the risks of using local SSDs thoroughly mitigated enough by Cockroach’s focus on availability to be trusted in a production environment?

1 Like