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

php - Embed BBCode within itself not working -

three.js - how to load gltf in three JS -

sql server - T-SQL: Access DB objects in same schema without qualifying? -