LabHub
배우기 러닝패스 코스

Idempotency — Two Clicks, One Charge

일부러 멱등하지 않게 만든 결제 API 를 고쳐 나갑니다. 멱등성 키, 요청 본문 해시, 동시 요청 경쟁, 재시작·다중 인스턴스까지 실제로 부딪혀 봅니다.

중급 · 레슨 30 · 실습 10

실습 시작하기

커리큘럼

Retries and Duplicates

Idempotent requests still need retry budgets

Keep orders and events consistent with a transactional outbox

The same key is not always the same request

Stop an old worker from overwriting a new result

A validly signed webhook arrived twice

Preserve balances when a transfer fails halfway

Two customers reserved the last item

Resume imports from the last committed checkpoint

Deleting an idempotency key ends its guarantee

참고 문서