firebase - Chances of Push ID duplication -


i know, know. push id unique , have least chance of duplicating node.

but i'm curious, there chance unique id have duplicated one, if so, generate unique id , on?

i know kind of dumb question, i'm curious.

no ! push id generate unique id everytime , it's uniqueness can guaranteed because firebase generates unique id using many unique paramaters such time. time unique every mili second unique id, , not time there many deciding factors internally ensures uniqueness. there me not chance can generate duplicate uid, if somehow forcefully make happen again unique next time.


Comments

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -