What is a UUID?

前端 未结 8 2493
悲&欢浪女
悲&欢浪女 2020-12-07 23:50

Well, what is one?

8条回答
  •  情歌与酒
    2020-12-08 00:55

    A UUID is a 128-bit number that is used to uniquely identify some entity. Depending on the specific mechanisms used, a UUID is guaranteed to be different or is, at least, extremely likely to be different from any other UUID generated. The UUID relies upon a combination of components to ensure uniqueness. A UUID contains a reference to the network address of the host that generated the UUID, a timestamp and a randomly generated component. Because the network address identifies a unique computer, and the timestamp is unique for each UUID generated from a particular host, those two components should sufficiently ensure uniqueness.

提交回复
热议问题