Back to problems

Handle Upstream Failures in a Payment-Calculation Service

System Design · DoorDash · Medium

You are designing a service that computes payments for delivery workers. The service relies on two upstream dependencies: A stream of delivery events reporting when a worker completes a job. A time-dependent peak-period configuration that determines surge rates for specific time windows. The payment formula itself is a versioned business rule provided out-of-band. Your task is to define the resilience strategy the service must follow when an upstream dependency fails or a…

Checking your access…