Re:Database IDs Have No Place in URIs (2008)
by kevin_thibedeau on Friday May 10, 2019 @12:54PM
(#19879677)
I once scraped a representative slice of Slashdot comments a while back and noticed some odd changes in their UIDs. They were originally sequential and then they switched to even numbers for a while, then odd numbers. I don't know if they were doing it to juice the UID stats to look like more people were joining the platform.
[ Parent
| on HN ]
> They were originally sequential and then they switched to even numbers for a while, then odd numbers.
That sounds like they wanted to migrate to another cluster, and wanted to have both clusters running at the same time (for testing) without risking an ID overlap, so they turned the least significant bit of the ID into a cluster identifier. The older cluster was 0 (even numbers), the new cluster was 1 (odd numbers).