Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Ask HN: GUID, int, or both for primary key?.
The author argues that auto incrementing ints have additional failure modes that sparse integers don't have, even if those sequential values aren't user-facing.
If they have a created datestamp then if you index them then it's easy to get last-n.
There are no comments on this comment yet.
The author argues that auto incrementing ints have additional failure modes that sparse integers don't have, even if those sequential values aren't user-facing.
If they have a created datestamp then if you index them then it's easy to get last-n.