Design a Proof of Delivery Photo Upload and Processing Pipeline
Last updated: November 29, 2026
Quick Overview
For leave-at-door orders, Dashers take a photo at drop-off. Design the pipeline that uploads the photo from the Dasher's phone, processes it, shows it to the customer and keeps it available for support disputes.
DoorDash
November 29, 20260
0
0 solved
For leave-at-door orders, Dashers take a photo at drop-off. Design the pipeline that uploads the photo from the Dasher's phone, processes it, shows it to the customer and keeps it available for support disputes.
Photo proof reduces 'never received' claims and refund costs, and it is a contained media problem suitable for a screen. The interviewer looks for direct-to-storage uploads, resilience to poor connectivity, basic processing and sensible retention and privacy rules.
What the Interviewer Expects
- Upload directly to object storage with presigned URLs
- Make uploads resumable or retryable on weak networks
- Process images asynchronously (resize, strip metadata, basic quality checks)
- Link the photo to the delivery and notify the customer
- Define retention and access control for privacy
Key Topics to Cover
How to Approach This
- Start by clarifying functional and non-functional requirements with the interviewer.
- Estimate the scale: QPS, storage, bandwidth. This drives your design decisions.
- Draw a high-level architecture first, then deep dive into 1-2 critical components.
- Discuss trade-offs explicitly (e.g., consistency vs availability, SQL vs NoSQL).
- Address failure scenarios, monitoring, and how the system handles 10x traffic spikes.
Possible Follow-up Questions
- How would you detect a blurry or dark photo before the Dasher leaves?
- Should the photo be required to complete the delivery if the upload fails?
- How would you add automatic checks that the photo shows a door and a bag?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Practice System Design ProblemsSample Answer
Requirements
Dasher captures a photo at drop-off; it must attach to the delivery, appear to the customer within seconds, and be retrievable by support for 90 days. Millions of photos per day, each 1 to 3 MB raw. D...
High-Level Design
- Dasher app compresses the photo on device to about 300 KB and requests an upload slot:
POST /deliveries/{id}/photoreturns a presigned PUT URL to S3 with a unique key. - App uploads directly to ...