PracHub
QuestionsPremiumLearningGuidesCheatsheetNEWCoaches
|Home/System Design/Lyft

Design a scalable news feed system

Last updated: Mar 29, 2026

Quick Overview

This System Design question evaluates a candidate's ability to design scalable backend systems for a social app news feed, covering data modeling, API design, real-time updates, ranking, privacy controls, and operational concerns such as sharding, caching, and monitoring.

  • hard
  • Lyft
  • System Design
  • Software Engineer

Design a scalable news feed system

Company: Lyft

Role: Software Engineer

Category: System Design

Difficulty: hard

Interview Round: Onsite

Design the backend for a social app’s news feed. Define functional and non-functional requirements, data model, and APIs (publish, follow, getFeed). Compare fan-out-on-write vs fan-out-on-read; justify your choice under high write and read loads. Cover ranking, real-time updates, deduplication, privacy/blocks, backfilling, cold-start, caching, storage and indexing, sharding and partitions, consistency/ordering guarantees, failure handling, and monitoring. Provide capacity estimates and a high-level architecture.

Quick Answer: This System Design question evaluates a candidate's ability to design scalable backend systems for a social app news feed, covering data modeling, API design, real-time updates, ranking, privacy controls, and operational concerns such as sharding, caching, and monitoring.

Related Interview Questions

  • Design a Donation Platform - Lyft (hard)
  • Design a charity donation platform - Lyft (medium)
  • Design a scalable real-time chat system - Lyft (hard)
  • Design a distributed web crawler - Lyft (hard)
  • Design web crawler for 1000 devices - Lyft (hard)
Lyft logo
Lyft
Jul 27, 2025, 12:00 AM
Software Engineer
Onsite
System Design
12
0

Design the backend for a social app news feed

Context

You are designing the backend that powers a mobile social app's home/news feed at large scale. The system must handle high write throughput (users publishing posts) and high read throughput (users opening and scrolling feeds), while supporting real-time updates, ranking, and privacy.

Tasks

  1. Define functional and non-functional requirements.
  2. Propose a data model for posts, users, relationships, and feeds.
  3. Specify core APIs: publish, follow/unfollow, getFeed (include pagination), and real-time update approach.
  4. Compare fan-out-on-write vs. fan-out-on-read. Choose an approach under high write and read loads and justify.
  5. Cover the following: ranking, real-time updates, deduplication, privacy/blocks, backfilling after new follows, cold-start for new users, caching, storage and indexing, sharding and partitions, consistency and ordering guarantees, failure handling, and monitoring.
  6. Provide capacity estimates with clearly stated assumptions.
  7. Present a high-level architecture diagram description (components and data flow).

Solution

Show

Comments (0)

Sign in to leave a comment

Loading comments...

Browse More Questions

More System Design•More Lyft•More Software Engineer•Lyft Software Engineer•Lyft System Design•Software Engineer System Design
PracHub

Master your tech interviews with 7,500+ real questions from top companies.

Product

  • Questions
  • Learning Tracks
  • Interview Guides
  • Resources
  • Premium
  • For Universities
  • Student Access

Browse

  • By Company
  • By Role
  • By Category
  • Topic Hubs
  • SQL Questions
  • Compare Platforms
  • Discord Community

Support

  • support@prachub.com
  • (916) 541-4762

Legal

  • Privacy Policy
  • Terms of Service
  • About Us

© 2026 PracHub. All rights reserved.