Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
firenotire
8y ago
0 comments
Save
Share
Can't you just enforce uniqueness anyways for that field? And then have the client retry?
0 comments
2 comments · 1 top-level
top
newest
oldest
foxylion
8y ago
· 1 in thread
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.
zzzcpan
8y ago
You can easily guarantee uniqueness within the system without any coordination.
j
/
k
navigate · click thread line to collapse