News for hackers. Stuff that matters.
Re:Bye Sequence, Hello UUIDv7 by johncolanduoni on Monday October 02, 2023 @11:12AM (#37739184)
What distributed databases shard on the low bits? How do they do something like a range query?

The closest I’ve ever heard of is sharding based on a hash (e.g. CockroachDB can do this on request[1]) but most distributed databases with strong consistency (Spanner descendants in particular) default to “doing it wrong”.

[1]: https://www.cockroachlabs.com/docs/stable/hash-sharded-index...

There are no comments on this comment yet.