A risk of collision before it happens is non-trivial to detect but this is really what you'd want.
It is resource amplification all the way down. In a lot of systems that index these keys the cost of that check is several times that of doing a blind insert.
DynamoDb works fine, using CQRS if necessary.
[edit: in IOT it's common to issue x509 certificates as a type of authentication which could be used instead of using producer IDs. Solutions always have to be paired to use case.]
Walk me through that please
Wild edge case. Curious if they ever found the root cause.I suspect you meant to reply to a different comment. Regardless the most plausible speculation I've read here is that the RNG used to generate the UUID is low quality.