logoalt Hacker News

HendrikHensenyesterday at 8:13 PM1 replyview on HN

In Google Cloud Bigtable we had the issue that our domain's primary key was a sequential integer autogenerated by another app. So we just reversed it, and it distributed automatically quite nicely.


Replies

bruckieyesterday at 8:18 PM

Doing this (reversing the bits of sequential ids) is common guidance inside Google for its distributed datastores like Spanner and Bigtable.