3 ms·
Bucketing them by prefix of the end-user ID is not exactly smart. Either you bucket by an internal ID and give the user a hash, or you give the user an ID and
by nine_k 3y ago
Bucketing them by prefix of the end-user ID is not exactly smart.
Either you bucket by an internal ID and give the user a hash, or you give the user an ID and bucket by your internal hash.
Users have no business knowing your sharding scheme.