Today · junior · 45 min
Design a unique ID generator
distributed-idssharding
Design a service that generates unique IDs for rows being created across a distributed database, where a simple auto-increment column no longer works.
Ask the interviewer
A real interviewer expects you to ask first. Each click reveals one answer.
Your design
45:00
Your answers stay in this browser. For an AI interviewer that reviews your design, run dacospace on your machine with its MCP server: Setup on GitHub.