MediumScenarioMore case studies
Design a distributed unique ID generator.
What a good answer covers
Use Snowflake-style IDs combining timestamp, machine id and sequence, handle clock drift, or range allocation from a coordinator.
PreviousDesign a video streaming platform like Hotstar for a live cricket match with 25M concurrent viewers.Next Design typeahead suggestions for a job search box serving 20M queries a day.