Messaging & Queues

Delayed jobs

Users start a 7-day free trial; on day 7 you charge or send a reminder. You cannot keep a thread sleeping for 7 days. How do you schedule the job, what idempotency do you need if the scheduler fires twice, and what happens if the user cancels on day 3?

Intermediate drill question.

Write it as you would say it in the interview: assumptions, the design, tradeoffs, and what you would do next. The draft saves in this browser.

Review the lesson