Design Seller Product Image Upload and Processing Pipeline
Last updated: November 29, 2026
Quick Overview
Design the system that lets Flipkart sellers upload product images, validates them against listing guidelines, generates resized variants for app and web, and serves them through a CDN.
Flipkart
November 29, 20260
0
0 solved
Design the system that lets Flipkart sellers upload product images, validates them against listing guidelines, generates resized variants for app and web, and serves them through a CDN.
A gentler design question used for SDE-1 and early SDE-2 candidates, grounded in the seller hub where millions of images are uploaded, many with watermarks, low resolution or wrong backgrounds. The interviewer checks a clean async pipeline, object storage usage and basic scaling choices.
What the Interviewer Expects
- Use direct to object storage uploads with presigned URLs
- Process images asynchronously through a queue
- Generate multiple sizes and modern formats like WebP
- Validate quality (resolution, watermark, background) and report back to sellers
- Serve via CDN with immutable versioned URLs
- Track per image processing status
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 duplicate or stolen images from other sellers?
- How would you reprocess the whole catalog when a new image size is needed?
- How do you keep costs down for images that are rarely viewed?
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
Functional: upload up to 10 images per listing, validate format and size, check guidelines, create variants (thumbnail, listing, zoom), show status in seller hub, serve to customers.
**Non functi...
High-Level Design
- Seller app asks the Media API for a presigned upload URL; Media API creates an
imagesrow with statusPENDING. - Client uploads directly to object storage (raw bucket), using multipart...