You don’t need any of this when using a globally unique UUID. Each component can generate its own UUIDs, and there will not be any conflicts. That’s why UUIDs have become popular in microservice-based architectures or when developing offline clients. ...