Skip to content
Tech Atlas, home
Search
Esc
  • All roadmapsBrowse every learning path
  • ExploreFind a technology area
  • ProjectsGuided projects and builds
  • My AtlasYour learning dashboard
Skill

Unique ID Generation

Generate unique identifiers at scale (random, time-ordered or coordinated) and pick a scheme by ordering, size, coordination and privacy needs.

Intermediate1 roadmap

3 objectives 5 steps about 100 min

Learn it step by step

Read the lessons in order, try the practice checks, then prove the skill with the knowledge check.

Start learning

This skill page is a public outline. Its lessons and knowledge check appear here as subject-matter experts approve them.

Learning objectives

  • Compare database sequences, ticket servers, UUIDv4, UUIDv7 and Snowflake-style IDs by uniqueness guarantee, ordering, size and coordination cost.
  • Implement a Snowflake-style generator that handles clock rollback and sequence overflow.
  • Design short, non-guessable public identifiers (for example base62 codes) and calculate their collision probability.

Lesson plan

5 steps, about 100 min · 4 of 4 lessons available so far

Practise it

Implement a 64-bit time-ordered ID generator with timestamp, worker and sequence bits, prove uniqueness with a test that generates 10M IDs across four concurrent workers, and document what it does when the clock moves backwards.

Build it from scratch

Practice builds that exercise this skill by re-creating a real technology.

Browse 1 tutorial that practise it

References

Hard prerequisites

None.

Unlocks

On these roadmaps

Progress and evidence for this skill are shared across all of them.