Back to problems

Replay request handling

Object-Oriented Programming · Stripe · Medium

Problem Implement request-handling logic that prevents the same request from being processed more than once. Your solution should recognize equivalent requests that arrive within a short time window, handle only the first one, and let later duplicates reuse the existing request status. The deduplication layer may be implemented as middleware or as a standalone integration-test helper. It should reduce repeated status lookups without changing the externally observable…

Checking your access…