System design · spoken drill
How to Explain a Unique ID Generator in English
Unique IDs are a “unique, roughly ordered, and cheap to mint” story. Name a Snowflake-style split, then clock skew — that is the follow-up they will ask.
The prompt
Design a service that mints unique IDs for many machines. In 60–90 seconds, in English, say what unique means, how you avoid a single database, and what happens if a clock jumps.
How to explain it
1. Requirements
Who the user is, and what must work on day one.
Clarify identity, write vs read, and one thing you are not building yet.
2. Scale
One rough number you can say out loud.
QPS, storage, or “millions of keys.” The number can be rough. The sentence cannot be missing.
3. API
Name the two or three calls.
“I would expose allow(userId) and a 429 when they are over the limit.”
4. Data
Where the state lives.
Cache, database, or log. Say why that store, not a tool dump.
5. Bottleneck
What breaks first when traffic grows.
Hot key, single leader, clock skew. Invite a follow-up.
6. Trade-off
What you gain and what you give up.
Accuracy vs speed, consistency vs availability. One pair is enough.
- “I need IDs that are unique and roughly time-ordered.”
- “I would use a timestamp, a machine id, and a sequence.”
- “The follow-up is clock skew.”
Practise out loud
Record 60–90 seconds. Play it back, then get a scorecard. Audio is scored and discarded.
This browser cannot record audio. Type your explanation below.
0:00 / 1:30Model spoken script
I need IDs that are unique across machines and roughly time-ordered, without a single database on the write path. I would use a Snowflake-style ID: timestamp, machine id, and a sequence. That lets each node mint IDs locally. The bottleneck is clock skew — if a node’s clock jumps backwards you can collide. I would refuse to mint until the clock catches up, or keep the last timestamp. The trade-off is a UUID, which is unique and simple, but not sortable and larger on disk.
Other prompts
Spoken outline
Rate limiter
A rate limiter is a “who, how many, what happens at the limit” story. Clarify identity, pick token bucket or a window, place it before expensive work, then name fairness.
Spoken outline
URL shortener
A URL shortener is two paths: write a long URL, redirect a short code. Name how you mint the ID, where you store the map, and what you do on a collision.
Spoken outline
Unique ID generator
Unique IDs are a “unique, roughly ordered, and cheap to mint” story. Name a Snowflake-style split, then clock skew — that is the follow-up they will ask.
FAQ
Questions
More questions? Email us at contact@mocklyenglish.com.
Article: Unique ID generator in English · System design English
Quick answer
Explain system design in English with a spoken order: clarify requirements, give one scale number, name the API, say where state lives, name what breaks first, then one trade-off. Short sentences beat a silent diagram.
Related in this path
People like you
Practise in the course
Think out loud in EnglishFree 30-minute trial
Take a mock interview
Get feedback on your answers and your English from certified coaches.

Sophie
5.0 · 159 reviews

Tom
5.0 · 156 reviews
No credit card needed