Code Room
System designHardsd-g230
Subject IdentityLevel Senior–Staff~45 minCommon in Distributed systems interviewsIndustries Technology, Software development

Question

Design an identity resolution and account-linking system for a marketplace where a single human may appear as multiple accounts — signed up with email, later with Google, later with a phone number, sometimes the same email at different times. You must merge these into one canonical identity for trust/fraud and personalization, without ever wrongly merging two different people (a catastrophic privacy/security failure). Scale: 500M identities, merges happen continuously. Discuss the data model, how you decide two accounts are the same person, and how you handle a bad merge.

What a strong answer looks like

Clarify scale and constraints first. Propose a clean component breakdown, then go deep on the hard parts — data model, bottlenecks, consistency, failure modes — and name the trade-offs you are making.

Narrate your design
Loading whiteboard…
Run or narrate your approach, then ask the coach.