# Fan-out Problem

> What is the fan-out problem in database and system design, and how would you design a news feed so that a celebrity post does not overload the system?

Canonical: https://www.internhack.in/learn/interview/database-design/db-fan-out-problem
Last updated: 2026-11-28

Difficulty: Advanced

## Question

What is the fan-out problem in database and system design, and how would you design a news feed so that a celebrity post does not overload the system?

*The full answer is for InternHack members. Open the page link above to read it.*

## Concepts covered

Fan-out on Write, Fan-out on Read, Hybrid Timeline, Celebrity Problem, Feed Generation

Previous: [UUID as Primary Key](https://www.internhack.in/learn/interview/database-design/db-uuid-vs-int-primary-key) · Next: [Write-Ahead Logging (WAL)](https://www.internhack.in/learn/interview/database-design/db-write-ahead-logging-wal) · [All of Database Design](https://www.internhack.in/learn/interview/database-design)

## More Database Design questions

- [Read Replicas vs. Caching](https://www.internhack.in/learn/interview/database-design/db-read-replicas-vs-caching)
- [Full-Text Search](https://www.internhack.in/learn/interview/database-design/db-full-text-search-vs-like)
- [Checkpointing](https://www.internhack.in/learn/interview/database-design/db-checkpointing)
- [Star vs. Snowflake](https://www.internhack.in/learn/interview/database-design/db-star-vs-snowflake-schema)
- [Polymorphic Associations](https://www.internhack.in/learn/interview/database-design/db-polymorphic-associations)
- [Schema Migrations](https://www.internhack.in/learn/interview/database-design/db-database-migration-best-practices)

## Related

- [Learn](https://www.internhack.in/learn)
- [Interview Prep](https://www.internhack.in/learn/interview)
- [Database Design](https://www.internhack.in/learn/interview/database-design)
