IDs for distributed systems? ——UUID (Universally Unique Identifier, universally unique identification code)

ID for distributed systems?——UUID (Universally Unique Identifier, Universally Unique Identifier)

UUID is the abbreviation of Universally Unique Identifier (Universally Unique Identifier), a concept proposed by the International Organization for Standardization (ISO). UUID is a 128-bit value, which can be calculated by a certain algorithm. Commonly used UUIDs can be shortened to 16 bits for efficiency. The purpose of UUID is to allow all elements in the distributed system to have unique identification information, without the need to specify the identification information through the central control terminal .

UUID is a standard for software construction and is also part of the Open Software Foundation organization (dedicated to the openness of network operating systems) in the field of distributed computing environments. Its purpose is to allow all elements in the distributed system to have unique identification information without specifying the identification information through the central control terminal . This way, everyone can create UUIDs that don't conflict with everyone else. In this case, there is no need to consider the problem of duplication of names when the database is created. UUID is used to identify the attribute type and is regarded as a unique identifier in all space and time. In general, it is guaranteed that this value is truly unique and that no UUID generated anywhere will have the same value . One benefit of using UUIDs is that new identifiers can be created for new services. The most widely used UUID is Microsoft's globally unique identifier (GUID) , while other important applications include Linux ext2/ext3 file system, LUKS encrypted partition, GNOME, KDE, Mac OS X, etc. In addition, we can also find the implementation in the UUID library in the e2fsprogs package .

Guess you like

Origin blog.csdn.net/u010804417/article/details/130614518