I recently came across the pattern of adding a salting prefix to the
row keys to prevent hotspotting. Still trying to wrap my head around
it and I have a few questions.

- Is there ever a reason to salt to more buckets than there are region
servers? The only reason why I think that may be beneficial is to
anticipate future growth???

- Is it beneficial to always hash against a known number of buckets
(ie never change the size) that way for any individual row key you can
always determine the prefix?

- Are there any good use cases of this pattern out in the wild?

Thanks

Reply via email to