Design the Following Feed for Boards and Creators a User Follows
Last updated: November 29, 2026
Quick Overview
Design the backend that builds a 'Following' feed on Pinterest: a reverse-chronological stream of new Pins saved to boards and by creators a user follows, with fast reads and support for accounts with millions of followers.
0
0
0 solved
Design the backend that builds a 'Following' feed on Pinterest: a reverse-chronological stream of new Pins saved to boards and by creators a user follows, with fast reads and support for accounts with millions of followers.
Pinterest users can follow both people and individual boards, which makes fan-out more complex than a typical social feed. The system design round checks fan-out strategy under skewed follower counts, storage layout for feeds, and how the design handles unfollows and deletions.
What the Interviewer Expects
- Estimates read and write volume and identifies the celebrity skew
- Chooses a hybrid fan-out: push for normal accounts, pull for heavy ones
- Designs feed storage keyed by user with bounded length
- Handles follows of individual boards as well as users
- Covers unfollow, Pin deletion and spam takedown consistency
Key Topics to Cover
How to Approach This
- Start by clarifying functional and non-functional requirements with the interviewer.
- Estimate the scale: QPS, storage, bandwidth. This drives your design decisions.
- Draw a high-level architecture first, then deep dive into 1-2 critical components.
- Discuss trade-offs explicitly (e.g., consistency vs availability, SQL vs NoSQL).
- Address failure scenarios, monitoring, and how the system handles 10x traffic spikes.
Possible Follow-up Questions
- How would you add ranking on top of the chronological candidates?
- What happens when a big creator saves 200 Pins in a minute?
- How do you backfill a feed for a user who just followed 50 boards during onboarding?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Practice System Design ProblemsSample Answer
Requirements
Functional: show new Pins from followed users and followed boards, newest first, paginated; reflect follows and unfollows quickly; hide deleted or removed Pins.
Non-functional: p99 read under 200 ms;...
High-Level Design
- Pin service writes a 'new save' event (pin_id, board_id, user_id, ts) to Kafka.
- Fan-out workers look up followers of the saving user and of the board. For entities under a threshold (say 100k foll...