A step-by-step breakdown of the popular FAANG+ system design interview question, design a service to calculate the top-k Youtube videos by view, which is asked at top companies like Meta, Google, Amazon, Microsoft, and more.
00:00:00 Introduction
00:03:47 Delivery Framework
00:06:33 Requirements
00:19:25 Core Entities and API
00:23:19 High Level Design
00:32:14 Core Deep Dive: Read Latency
00:37:45 Core Deep Dive: Database write optimizations
00:53:24 Core Deep Dive: Query optimizations
01:02:46 Variation: Sliding Windows
01:11:05 Variation: Approximate Solutions
01:25:08 Discussion: Specialized Databases
01:30:20 Wrap-up
Stefan, a former Meta senior manager and current co-founder of Hello Interview, walks through the problem from the perspective of an interviewer who has asked it well over 50 times.
Excalidraw for this video: https://link.excalidraw.com/l/56zGeHi...
Resources:
1. Detailed write up of the problem: https://www.hellointerview.com/learn/...
2. Event Driven Architectures: https://www.hellointerview.com/blog/e...
3. System Design In a Hurry: https://www.hellointerview.com/learn/...
4. Vote for the question you want us to do next: https://www.hellointerview.com/learn/...
Connect with me on LinkedIn: / stefanmai
Preparing for your upcoming interviews and want to practice with top FAANG interviewers like Stefan? Book a mock interview at www.hellointerview.com.
Good luck with your upcoming interviews!