Senior Backend Engineer / Stage 3 · APIs

Make a repeated command safe

CoreIntermediateDraft, not yet reviewed16 min of activities

"Already know" meets prerequisites. "Not relevant" removes the topic from your total but leaves what builds on it waiting.

Self-check

  • You receive the same payment webhook twice and then a retry with the same key but a different amount. Design the stored key and atomic processing boundary.
  • Evidence to include: Trace each response and prove that a crash after commit cannot charge twice. Explain conflicting-key handling.

Try it without the material first, then compare. Save your answer in your notes below. Report a problem with this self-check

Learning activities

2 activities

My notes

Saved on this device, synced when signed in
Esc
↑ ↓ to move↵ to open