TikTok System Design Interview Questions

Almost every TikTok design question reduces to three systems. Those are video upload and delivery, the For You feed, and the event pipeline that records what users do.

If you can draw those three and defend the trade-offs, you can answer most versions of the question. The rest is detail.

TikTok has publicly said it passed one billion monthly users. So every answer has to survive a read-heavy, global load. Say that out loud early.

The Questions That Get Asked

QuestionWhat it really testsHardest part
Design TikTokEnd to end video platformScope control in 45 minutes
Design the For You feedRanking and serving at scaleFreshness against cost
Design video upload and playbackStorage, transcoding, deliveryStart time for playback
Design the like and view counterHigh write volumeApproximate counts
Design live streaming with chatReal-time deliveryFan-out to many viewers
Design the comment systemWrite path and orderingHot videos with heavy traffic

Start by Cutting the Scope

The question is too large to answer fully. Narrowing it is part of the score.

Say which features you will build. Upload, feed, and playback is a good set. Push search, messaging, and ads out of scope, out loud.

Then state your numbers as assumptions. For example, 500 million daily users, 50 million uploads per day, and a read to write ratio near 1000 to 1. Nobody expects the real numbers. They expect you to show the math you build on.

Last, name the two properties that matter most. For TikTok those are low start time for a video and high availability. Full consistency on counts can wait.

The Upload and Delivery Path

A creator uploads a file to an upload service. That service writes the raw file to object storage and adds a job to a queue.

Workers pick up the job and transcode the video. Transcoding means producing several versions at different sizes and bit rates. This lets a weak network get a small file.

Finished files are pushed to a content delivery network, which is a set of servers near users. Playback then reads from the nearest copy, not from your origin.

Metadata goes in a separate store. Video id, author, caption, tags, and status belong in a database you can query, not in the file store.

Use a state field on the video record. It moves from uploaded, to processing, to ready. The client polls or receives a push when it turns ready.

The For You Feed

Split ranking into two stages. This is the part interviewers wait for.

Stage one is candidate generation. Pull a few thousand videos the user might like, using recent activity, followed accounts, tags, and trending lists. This stage is cheap and wide.

Stage two is ranking. Score those candidates with a model that uses watch time, replays, likes, and skips. This stage is expensive and narrow.

Then apply rules on top. Remove videos already seen. Mix in fresh content so new creators get views. Enforce safety filters.

Precompute part of the feed for active users and cache it. Compute the rest at request time. That mix keeps cost down while the feed still reacts within a session.

The Event Pipeline

Every view, like, skip, and share is an event. These events are what make the feed feel personal.

Send them to a log system such as Kafka. Several consumers then read the same stream.

One consumer updates counters. One updates the user profile used by ranking. One feeds offline model training. One feeds fraud and safety checks.

Counters do not need to be exact in real time. Update them in batches, and accept a short delay. Say this trade-off out loud, because it is the cheap answer to a very expensive problem.

Trade-Offs You Should Name

Storage cost against playback quality. More transcoded versions means faster starts and a larger bill.

Freshness against cost. Ranking every request is better and far more expensive than serving a cached feed.

Consistency against speed. View counts can lag by seconds. A payment could not.

Global reach against complexity. Regional storage and delivery cut latency and add data rules you must handle.

How to Prepare

TAGS
System Design Interview
System Design Fundamentals
CONTRIBUTOR
Arslan Ahmad
Arslan Ahmad
ex-FAANG engineering manager and author or Grokking series.

GET YOUR FREE

Coding Questions Catalog

Design Gurus Newsletter - Latest from our Blog
Boost your coding skills with our essential coding questions catalog.
Take a step towards a better tech career now!
Explore Answers
What is cd in Linux?
What is a red flag in an interview?
What do interviewers expect in a System Design interview?
When to learn system design?
What to Expect in the Linear System Design Interview
Linear's architecture round favors real-time sync, offline-first clients, and issue tracker data models, with a worked sync engine walkthrough.
Spotify System Architecture: Microservices, Event Delivery, and Google Cloud
Spotify runs hundreds of Java microservices on Google Cloud, catalogs them in Backstage, and moves user events through a Pub/Sub pipeline that peaks above 8 million events per second. Here is the design at interview depth.
Related Courses
New
Grokking the AI System Design Interview course cover
Grokking the AI System Design Interview
Learn to design AI systems the way interviewers expect: classic ML products, LLM and RAG architectures, and agentic systems, all through the lens of the system design interview.
4.6
(3,192 learners)
Discounted price for Your Region

$99

Grokking the Coding Interview: Patterns for Coding Questions course cover
Grokking the Coding Interview: Patterns for Coding Questions
The 24 essential patterns behind every coding interview question. Available in Java, Python, JavaScript, C++, C#, and Go. The most comprehensive coding interview course with 543 lessons. A smarter alternative to grinding LeetCode.
4.6
Discounted price for Your Region

$197

Grokking Modern AI Fundamentals course cover
Grokking Modern AI Fundamentals
Master the fundamentals of AI today to lead the tech revolution of tomorrow.
4.1
Discounted price for Your Region

$72

Design Gurus logo
One-Stop Portal For Tech Interviews.
About Us
Our Team
Careers
Partners
Contact Us
Become Affiliate
Copyright © 2026 Design Gurus, LLC. All rights reserved.