Skip to main content
Share Your Experience: Take the 2024 Developer Survey
10 votes
Accepted

Protecting against malicious duplicate IDs in a distributed environment

There is no such thing as uniqueness without context. You may think your 42 is special but I can assure you other people have used 42 before. This may lead you to thinking a large UUID or a ...
candied_orange's user avatar
3 votes

Protecting against malicious duplicate IDs in a distributed environment

Fundamentally, a central registry is required for uniqueness. The system of assigning a unique prefix to different allocators, still has the centralised element of assigning the unique prefix itself ...
Steve's user avatar
  • 8,949
1 vote

Protecting against malicious duplicate IDs in a distributed environment

You need to specify more information about the distributed service. Most systems have some central components. For example, you could shard on the ID. so when an ID comes in you takes it hash to find ...
Ewan's user avatar
  • 76.3k

Only top scored, non community-wiki answers of a minimum length are eligible