FAANG system design interview: Design YouTube (with FAANG Senior SWE)
Вставка
- Опубліковано 28 тра 2024
- Today's system design mock interview: "Design UA-cam."
Candidate: Ravi, current Senior software engineer at a FAANG/MAANG company and now a coach on our platform.
Book a coaching session with Ravi: igotanoffer.com/en/coach/ravi
Chapters:
00:00 Intro
01:08 Question - How would you design a system like UA-cam?
01:21 1. Clarifications and requirements
05:29 2. Resource estimations
14:40 3. High-level design
16:58 4. Deep dive
17:23 4.1 Deep dive (upload)
24:39 Handling multiple device requirements
28:53 4.2 Deep dive (watch)
38:11 4.3 Deep dive (search)
44:00 5. Refining the design
44:49 Overall feedback
45:54 Outro
About us:
IGotAnOffer is the leading career coaching marketplace ambitious professionals turn to for help at high-stakes moments in their career. Get a job, negotiate your salary, get a promotion, plan your next career steps - we've got you covered whenever you need us.
Come and find us: igotanoffer.com/
Get 1-on-1 coaching to ace your system design interview: igotanoffer.com/en/interview-coaching/type/system-design-interview
i believe using an elastic search on the metadata db, would be much more helpful for searching /fuzzy searching.
Why not use a No SQL based DB while uploading videos? We wouldn't have to do the extraction in that case right? We can simply just work with the meta data DB in JSON format.
Thank you. Awesome interview
thank you good design
Great video. I am new to system design, just watching for fun. I was not satisfied with the search deep dive, I don’t know how it’s actually done, but I feel this would not be a convenient way, please correct me if I am wrong. And apart from that I also am unsure why he replicated the video to another CDN, how would that help 37:13 ? Could anyone please answer my questions?
Too much time into math and numbers??
Yep. And all in vain. He forgot about trans-coding and storing one video in multiple formats. 100MB / vid is way too humble of an estimate.
Popular adaptive streaming technologies include Dynamic Adaptive Streaming over HTTP (DASH), HTTP Live Streaming (HLS), and Microsoft Smooth Streaming.
ua-cam.com/video/hqa2sfoGRlI/v-deo.html