Design an Asynchronous Report Generation Queue for Seller Central

Last updated: November 29, 2026

Quick Overview

Design the system that lets sellers request large reports (orders, inventory, settlements) in Seller Central, generates them in the background, and notifies them when the file is ready to download.

Amazon
System Design
Software Engineer
Amazon
November 29, 2026
Software Engineer
Phone Screen
System Design
Easy

0

0

0 solved


Design the system that lets sellers request large reports (orders, inventory, settlements) in Seller Central, generates them in the background, and notifies them when the file is ready to download.

A straightforward job-queue design used in Amazon screens. The interviewer checks the request-poll-download pattern, fair sharing of workers between big and small sellers, deduplication of identical requests, and safe delivery of files.

What the Interviewer Expects
  • Use an async request with a report id and status polling
  • Queue jobs and process them with a worker fleet
  • Prevent one seller from monopolizing workers
  • Store outputs in S3 with expiring presigned URLs
  • Retry failures and expose clear statuses
Key Topics to Cover
Job Queues
Async APIs
Fair Scheduling
Object Storage
Retries
How to Approach This
  1. Start by clarifying functional and non-functional requirements with the interviewer.
  2. Estimate the scale: QPS, storage, bandwidth. This drives your design decisions.
  3. Draw a high-level architecture first, then deep dive into 1-2 critical components.
  4. Discuss trade-offs explicitly (e.g., consistency vs availability, SQL vs NoSQL).
  5. Address failure scenarios, monitoring, and how the system handles 10x traffic spikes.
Possible Follow-up Questions
  • How would you deduplicate identical report requests made a minute apart?
  • How do you support scheduled daily reports?
  • What if a report takes four hours for the largest sellers?
Sharpen Your Skills on Codemia

Practice similar problems with our interactive workspace, get AI feedback, and track your progress.

Practice System Design Problems
Sample Answer
Requirements

Functional: request a report type and date range; see status (queued, in progress, done, failed); download CSV when done; email or in-app notification. Non-functional: millions of sellers, hundreds of...

High-Level Design

The Reports API writes a job row (report_id, seller_id, type, params, status) and enqueues a message. Worker fleets per report type pull jobs, run queries against the analytical replica or data lake...


Submit Your Answer
Markdown supported