MediumApplySystem Design Interview FrameworkMultiple Choice

How do you handle a client submitting the same write request twice due to a network retry?

Apply Tests ability to use knowledge in practical scenarios.

Answer Options

AAccept both requests and store duplicates
BClient sends an idempotency key; server checks Redis before processing and returns cached result if key exists
CBlock all retries with rate limiting
DUse a UNIQUE constraint on all fields

Want to see the correct answer?

Get the answer with a detailed explanation, plus practice 20+ more System Design Interview Framework questions with adaptive quizzes and timed interviews.

See the Answer on Guru Sishya →

This question is from the System Design Interview Framework topic (System Design).

More System Design Interview Framework Questions