System Design Visualized
Lesson 7.6

Deep dive and wrap up

Play this lessonThis lesson comes with a live-code challenge and a chapter quiz.

41 bits hold at most 2⁴¹ − 1 = 2,199,023,255,551 milliseconds, which is about 69 years. So a Snowflake generator works for ~69 years after its custom epoch. A recent epoch delays overflow; after 69 years we need a new epoch or a migration.

The rest of this lesson is part of Pro

Pro unlocks every lesson with its animation, code challenge and quiz, plus every interview problem. ₹299 a month or ₹1,999 a year.

See Pro

Remember it, then prove it

Create a free account to save your progress, get spaced-repetition reviews of what you miss, and design real systems in the interview simulator.

Start free