Design a Unique Id Generator in a Distributed System - System Design Interview - Snowflake Algorithm

Опубликовано: 24 Май 2026
на канале: LeetJourney
3,742
66

🚀 How to design a unique ID generator in a distributed system using Twitter's Snowflake Algorithm

🗣️ You can now book a one on one advice/mentoring call with myself:
https://calendly.com/leetjourney/45min

📚Chapters
0:00 Intro
0:20 Why unique id generators?
0:42 Understanding the challenges
1:02 Requirements gathering
1:40 How to generate unique keys
2:48 Snowflake Algorithm
4:44 Follow up questions
5:16 Conclusions


Correction:
At minute 4.32 it should read "time" and not "tyme"


▶️ Useful Playlists
   • Blind 75  
   • Interview Fundamentals  
   • Leetcode  
   • Leetcode - Medium  

🪢 Socials
Instagram:   / leetjourney  
Twitter / X:   / leetjourney  
TikTok:   / leetjourney  

👷 Ways to support my work
--
✨ Support my work as a Patreon:   / leetjourney  
☕️ Get me a coffee: https://www.buymeacoffee.com/leetjourney