Design the DashPass Subscription Renewal Billing Job

Last updated: November 29, 2026

Quick Overview

Design the system that renews millions of DashPass subscriptions on their billing dates, charges the saved card, retries failed payments sensibly and updates each member's benefits without double charging.

DoorDash
System Design
Software Engineer
DoorDash
November 29, 2026
Software Engineer
Technical Screen
System Design
Easy

0

0

0 solved


Design the system that renews millions of DashPass subscriptions on their billing dates, charges the saved card, retries failed payments sensibly and updates each member's benefits without double charging.

DashPass is DoorDash's membership program, and renewals are a steady, high-value batch workload. This scoped question checks whether a candidate can design a reliable recurring job with idempotent charges, retry schedules for declines and clear subscription states.

What the Interviewer Expects
  • Model subscription states including a grace period
  • Select due subscriptions efficiently each day without missing any
  • Charge idempotently with a key per billing period
  • Retry declines on a schedule (dunning) and notify the member
  • Spread load instead of charging everyone at midnight
Key Topics to Cover
Batch jobs
Idempotency
Dunning retries
Subscription state machine
Sharding work
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 do you handle a member who cancels one minute before the renewal job runs?
  • How would you change the retry schedule to recover more failed payments?
  • What happens to benefits while a payment is in retry?
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

Monthly and annual plans; each subscription has a next_bill_at. On that date we charge the stored payment method, extend the period on success, and on failure enter retries over about a week while k...

High-Level Design
  • Subscription table: (sub_id, user_id, plan, state, period_end, next_bill_at, retry_count) with states ACTIVE, PAST_DUE, CANCELED, EXPIRED.
  • Scheduler: every 5 minutes, enqueue subscriptio...

Submit Your Answer
Markdown supported