3 ms·
To the best of my knowledge the scaling behind distributed ranged KV stores (which cockroachDB uses as its storage engine) is easier to manage overall. Whether
by tonyhb 5y ago
To the best of my knowledge the scaling behind distributed ranged KV stores (which cockroachDB uses as its storage engine) is easier to manage overall. Whether that's important for "serverless" is another question.
I'm sure PlanetScale will help with rebalancing and re-sharding but, just like FoundationDB, CockroachDB "promises" to automatically re-shard hot keys and ranges for you under the hood, and so _in theory_ scales well for a distributed read/write heavy system over many nodes with potential hotspots. My CockroachDB knowledge is based off of research into FoundationDB, but I think it shares many of the same underpinnings (even the record layer concept). And FoundationDB scales very well.
Vitess, on the other hand, manages the cluster for you but I don't think that the rebalancing and sharding is as easy to manage. Would love to learn more as I don't know much about Vitess.
- harshit164 5y agoVitess using range based sharding and with a single command of `Reshard` you can split a range to n sub-ranges. Ref for how command looks like https://vitess.io/docs/user-guides/configuration-advanced/resharding/#start-the-reshard https://vitess.io/docs/user-guides/configuration-advanced/re...
- haggy102 5y agoHappy to be wrong but both of you sound like you're commenting without any operational knowledge about either database technology.
- shlomi-noach 5y agoSince I feel injustice done here, I'd like to point out that harshit164 is a Vitess maintainer who is my go-to person of reference for these exact topics, and who is authoritative about this database technology.
- wy35 5y agoYou must be very happy, then.
- deleted 5y ago[deleted]