In distributed systems, generating unique IDs for entities is crucial for many reasons. In this article, the author discusses various approaches to generate global unique IDs, highlighting their pros and cons. The article covers UUID (Universally Unique Identifier), Flake ID, Twitter Snowflake, KGS (Key Generation Service), and Cassandras TimeUUID. The author explains the serialization and deserialization of IDs as well. Finally, the author highlights the importance of choosing the right ID generation approach based on the requirements of the system.