2dbi

Design an idempotent layer for order creation

via2dbi

Requirements

  • Handle multiple duplicate order create events from the client without creating duplicate orders.
  • Layer sits on top of an existing service.

Discussion points

  • Idempotency key strategy
  • Storage and TTL for idempotency records
  • Failure and retry scenarios
Add a follow-up question they asked
Implement this design using an AI Agent of your choice
asked …
LeaderboardSalary
Language
Account