Recommend Local Facebook Events Using Location and Social Signals

Last updated: November 29, 2026

Quick Overview

Design a system that recommends upcoming local events on Facebook to users, combining distance, timing, interests and which friends are going. Explain candidate generation, ranking, and handling of events that expire.

Meta
ML System Design
Machine Learning Engineer
Meta
November 29, 2026
Machine Learning Engineer
Phone Screen
ML System Design
Easy

0

0

0 solved


Design a system that recommends upcoming local events on Facebook to users, combining distance, timing, interests and which friends are going. Explain candidate generation, ranking, and handling of events that expire.

Events recommendations are a compact Meta-flavored problem that tests geo retrieval, time sensitivity and social proof. Interviewers want a clear funnel and good intuition about what makes someone actually attend.

What the Interviewer Expects
  • Retrieves candidates by geography and time window
  • Uses friends interested or going as a key social signal
  • Chooses a label tied to RSVP or attendance rather than impressions
  • Accounts for event expiry and time until start
  • Filters spam or low-quality event pages
Key Topics to Cover
geo retrieval
social proof
time decay
event recommendations
RSVP prediction
How to Approach This
  1. Start by mapping the business objective to a concrete ML objective and metric.
  2. Cover the full pipeline: data collection, feature engineering, model selection, training, serving.
  3. Discuss online vs offline evaluation. Plan an A/B test to validate real-world impact.
  4. Address the serving latency budget and whether batch or real-time inference is needed.
  5. Think about the data flywheel: how user feedback improves the model over time.
Possible Follow-up Questions
  • How would you recommend events for a user who is traveling?
  • How do you handle a large concert with thousands of RSVPs versus a small meetup?
  • What is the cold-start plan for newly created events?
Sharpen Your Skills on Codemia

Practice similar problems with our interactive workspace, get AI feedback, and track your progress.

Practice ML System Design Problems
Sample Answer
Requirements
  • Scope: events in the next 30 days within reasonable distance of the user's current or home city.
  • Output: a ranked list for the Events tab and occasional feed units.
  • Goal: RSVPs that lead to atte...
High-Level Design
  1. Candidates: geo index query (geohash cells around the user) filtered by start time in the window; plus events friends marked going; plus events from pages and groups the user follows.
  2. **Rank...

Submit Your Answer
Markdown supported