advancedAPI Design, Performance & Resilience
Where would you store an idempotency key, and how do you handle two concurrent requests arriving with the same key?
Tests whether you've thought through the race condition of two identical requests landing at nearly the same instant.
This is a Pro question
Sign in, then upgrade to Pro or Power to unlock this question and the full Interview Prep bank.
Where would you store an idempotency key, and how do you handle two concurrent requests arriving with the same key?