3 ms·
Years ago I wrote a library that would exaggerate sequential IDs to make our SaaS platform appear more popular than it actually was to anyone trying to pay atte
by lightbendover 3y ago
Years ago I wrote a library that would exaggerate sequential IDs to make our SaaS platform appear more popular than it actually was to anyone trying to pay attention. Not sure if I’m proud of the hack or embarrassed. But of both I suppose.
- pnpnp 3y agobut UUIDv7 isn’t sequential (unless I’m getting it mixed up). There’s just a time-based component which can make sorting really nice & some random bits at the end. If you don’t let an attacker iterate your data, all they can tell is when the ID was created.
- deleted 3y ago[deleted]
- jolux 3y ago> If you don’t let an attacker iterate your data, all they can tell is when the ID was created. The ordering means that you can reconstruct the sequence if you have enough of them, though.
- lightbendover 3y agoI was responding in a sub-thread about risks/opportunities associated with sequential IDs with an anecdote on opportunities.