Design a Stock Price Alert System
A stock price alert system watches a live stream of prices and tells users when a stock they care about does something they asked to hear about. The user picks a ticker and a rule. The system checks each new price against the rules on that ticker and sends a push notification when one fires. Uber isn't a broker, but this is one of the prompts candidates report most often from Uber's high-level design round in recent years. It shows up mostly in L4 (SDE-2) loops, often as the Bar Raiser's design round in India, and also at L5a and L5b. The product is small. The numbers behind it are what make it hard: tens of millions of standing rules checked against tens of thousands of price updates a second, and every alert delivered once even when part of the pipeline fails.
UberPremium lesson · System design round
The Uber design, worked end to end.
- The API and data modelSystem design
- The design, drawn out2 diagrams
- 5 deep divesWith the tradeoffs
$49 a year · all 100 companies · cancel anytime
From 548 Uber reports, forum threads behind logins and write-ups in Chinese.
Uber interview guideKnow what Uber asks before you walk in.
30 coding · 4 system design · 21 behavioral questions
Get their questions first.
InterviewLegend is independent and not affiliated with or endorsed by any company it covers.