Design Push Notifications When a Long Deep Research Task Finishes

Last updated: November 29, 2026

Quick Overview

Design the notification path that alerts a user on their phone, desktop app or email when a long-running ChatGPT task such as a deep research report completes, even if they closed the app.

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

0

0

0 solved


Design the notification path that alerts a user on their phone, desktop app or email when a long-running ChatGPT task such as a deep research report completes, even if they closed the app.

Agentic ChatGPT features can run for many minutes, so users leave and expect to be told when results are ready. The phone screen version checks event-driven design, device token management and deduplication across channels.

What the Interviewer Expects
  • Emit a completion event from the task system
  • Store device tokens per user and platform, with cleanup of invalid ones
  • Send via APNs and FCM, and email as fallback
  • Suppress the push if the user is actively viewing the conversation
  • Deduplicate and respect user notification preferences
Key Topics to Cover
push notifications
APNs
FCM
event-driven design
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 avoid notifying all five of a user's devices?
  • What if APNs is slow or returns errors for an hour?
  • How would you let users mute notifications for one project?
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
  • When a task finishes (success or failure), notify the user within seconds.
  • Channels: mobile push, desktop app notification, email fallback; respect preferences.
  • Tapping opens the right conversat...
High-Level Design
  • Task service publishes task.completed {user_id, conversation_id, task_id, status} to a queue.
  • Notification service consumes, looks up preferences and device registry `(user_id, devic...

Submit Your Answer
Markdown supported