Design Price Drop Alerts for Google Flights Tracked Routes

Last updated: November 29, 2026

Quick Overview

Design the Google Flights feature where users track a route and dates, and receive an email or push when the price drops meaningfully, at the scale of tens of millions of tracked searches.

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

0

0

0 solved


Design the Google Flights feature where users track a route and dates, and receive an email or push when the price drops meaningfully, at the scale of tens of millions of tracked searches.

A friendly screen-level design question at Google because the core is simple (periodic check, compare, notify) but there are real choices about how often to re-price, what counts as a meaningful drop, and how to share price lookups across users tracking the same route.

What the Interviewer Expects
  • Store tracked queries and deduplicate identical routes across users
  • Pick a refresh schedule tied to how soon the trip is
  • Define the 'meaningful drop' rule and avoid flapping alerts
  • Send notifications through existing channels with dedupe
  • Estimate scale and cost of price lookups
Key Topics to Cover
Scheduled jobs
Query deduplication
Threshold alerting
Caching
Notification dedupe
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 fare that drops and rises again within an hour?
  • What if the pricing backend is expensive per query?
  • How do you let users track flexible dates?
  • How would you test that alerts are useful?
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: a user tracks (origin, destination, dates, cabin, stops); we check price periodically and alert when the lowest price drops below the last notified price by a threshold; users can stop...

High-Level Design
  • Tracking store: tracking(user_id, query_hash, last_notified_price, channel) and a query(query_hash, params, last_price, next_check_at) table.
  • Scheduler: scans query by `next_check_at...

Submit Your Answer
Markdown supported