3 ms·
> For example you could encode a number that identifies the host (like, the last byte or last two bytes of the public IP address) and the process id of the proc
by jacques_chester 12y ago
> For example you could encode a number that identifies the host (like, the last byte or last two bytes of the public IP address) and the process id of the process generating the ID, and as a result you need less entropy for avoiding collisions.
UUID v1 does this by encoding the MAC address as part of the UUID. v3 and v5 use a scheme that encode information from other namespaces, eg FQDNs.