Scope
-
QPS
-
SLA
-
Required Performance
- The system should be able to generate 10,000 IDs per second.
-
Do IDs only contain numerical values?
- Interviewer: Yes, that is correct.
-
What is the ID length requirement?
- Interviewer: IDs should fit into 64-bit.
-
For each new record, does ID increment by 1?
- Interviewer: The ID increments by time but not necessarily only increments by 1. IDs created in the evening are larger than those created in the morning on the same day.