About UUIDs
UUID v4 (Random)
Generates a random UUID. Recommended for most use cases. Simple and fast with minimal chance of collision.
UUID v1 (Timestamp)
Generates a UUID based on timestamp and machine ID. Useful when you need UUIDs to be sortable by creation time.
Use Cases
Database primary keys, distributed system identifiers, session tokens, request IDs, and any scenario requiring globally unique identifiers.