Design a Distributed Unique ID Generator — Medium System Design Problem