System Design · DoorDash · Medium
You have already implemented logic that computes a dasher's pay from order event logs. The events include timestamps and state transitions. Design an HTTP API that exposes this logic as a service. Cover: Endpoints (for example: compute pay for a dasher over a time window, submit events, query results) Request and response schemas, including datetime formats An idempotency strategy, so that client retries are handled safely Failure handling and retry semantics: client vs.…
Checking your access…