2 ms·
If the 4 bytes are unsigned, then did they just intentionally introduce a year 2038 problem? 12 bytes is enough to just store a random value, with low chance o
by MichaelGG 12y ago
If the 4 bytes are unsigned, then did they just intentionally introduce a year 2038 problem?
12 bytes is enough to just store a random value, with low chance of collisions until you've got around 100 trillion items. It confuses me why anyone would want to waste bytes of an ID on low entropy values like machine and process ID.
Or any combination of high res time plus random works nicely.
OTOH, Mongo's not exactly been a bastion of engineering excellence.