Hacker News new | ask | show | jobs
by firenotire 2950 days ago
Can't you just enforce uniqueness anyways for that field? And then have the client retry?
1 comments

Yes, we are planning to just fail, as the chance of a collision is really low and the user will then be able to just retry creating the object.
You can easily guarantee uniqueness within the system without any coordination.