FAANG system design interview: Design YouTube (with FAANG Senior SWE)
Vložit
- čas přidán 27. 07. 2024
- Today's system design mock interview: "Design CZcams."
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 CZcams?
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/?Y...
Get 1-on-1 coaching to ace your system design interview: igotanoffer.com/en/interview-coaching/type/system-design-interview?CZcams&
i believe using an elastic search on the metadata db, would be much more helpful for searching /fuzzy searching.
Thank you. Awesome interview
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 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?
What he is talking is about inverted index, which is a popular concept used by lot of companies to handle search from a huge dataset kind of use-cases. Since you are new to system design, I am sure once you go through Elastic search and inverted indexes to understand the search related stuff, you will better relate to what he explained. Cheers!
CDNs are networks of distributed servers strategically positioned across various geographical locations. They are designed to deliver content to users more efficiently and reliably by reducing latency and ensuring high availability. Again it is widely used in the industry for improving performance of static content delivery like videos, photos, etc. It is highly optimised for that.
He kinda got stuck between system design and low level design. You probably don't need to go to a much deeper detail in system design
Not exactly. I am not sure if you have faced top tech (FAANG) interview for senior+ levels. I have faced interviews for top tech companies (even cracked a few). As you move up seniority level, deep dives and details are what sail you through. By details, it can be in any direction that interviewer suggest like regarding a particular implementation, how a certain process actually works given the components that you propose in the design and any other flow deep dive that interviewer in interested in. Some times the design discussion is for a particular API implementation - on how the API is implemented and how you would scale it. For top tech and specially for system design, there is no clear demarcation that it should be high level only and not low level. It is purely driven by the conversation and with seniority the level of deep dives you go into is super super important, else you would be low levelled by the company. Speaking from personal experience where I received feedback that I did not cover enough details in the design ands did not go into deep dives.
10 Mins. on calculation. like seriously!!!??
Moreover explanation on why Sql, is very incomplete and vague.
Dang!! No Hire
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.
@@MinekEzQM: Yup he should have multiplied the total size by 10. Roughly 3 formats with 3 times replication.
Agree. numbers part can be an improvement in this design and that's a learning from the video.
Popular adaptive streaming technologies include Dynamic Adaptive Streaming over HTTP (DASH), HTTP Live Streaming (HLS), and Microsoft Smooth Streaming.
czcams.com/video/hqa2sfoGRlI/video.html