Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
HendrikHensen
7 days ago
|
parent
|
context
|
favorite
| on:
Avoid UUID Version 4 Primary Keys in Postgres
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.
bruckie
7 days ago
[–]
Doing this (reversing the bits of sequential ids) is common guidance inside Google for its distributed datastores like Spanner and Bigtable.
reply
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: