There should be a way of creating an item in which the creator does not wish to deal with conflicts - i.e. Storage will always create the item and will potentially return an item with a different location.
Challenges:
vulnerability to race conditions
slow
how do you deal with items missing in series - given item-1, item-3, do you create item-2 or item-4.
The more I think about this, the more I wonder if allowing this will conflict with other things like having sharded databases. I'm not sure that it needs to be a core assumption that this is possible.
There should be a way of creating an item in which the creator does not wish to deal with conflicts - i.e. Storage will always create the item and will potentially return an item with a different location.
Challenges:
item-1
,item-3
, do you createitem-2
oritem-4
.