System Overview - Design a unique ID generator
This system generates unique IDs that can be used across distributed services without collisions. It must be fast, scalable, and highly available to support many requests per second.
This system generates unique IDs that can be used across distributed services without collisions. It must be fast, scalable, and highly available to support many requests per second.
User
|
v
Load Balancer
|
v
API Gateway
|
v
+-------------------+
| Unique ID Service |
| +-------------+ |
| | ID Generator| |
| +-------------+ |
+-------------------+
|
v
+-------------+
| Cache |
+-------------+
|
v
+-------------+
| Database |
+-------------+