FAANG system design interview: Design YouTube (with FAANG Senior SWE)

Sdílet
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...

Komentáře • 15

  • @IGotAnOffer-Engineering
    @IGotAnOffer-Engineering  Před 4 měsíci

    Get 1-on-1 coaching to ace your system design interview: igotanoffer.com/en/interview-coaching/type/system-design-interview?CZcams&

  • @anindyasankardasgupta1882
    @anindyasankardasgupta1882 Před 4 měsíci +7

    i believe using an elastic search on the metadata db, would be much more helpful for searching /fuzzy searching.

  • @FahmiEshaq
    @FahmiEshaq Před 4 měsíci

    Thank you. Awesome interview

  • @opppo89
    @opppo89 Před 3 měsíci +3

    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.

  • @mohammadtoficmohammad3594
    @mohammadtoficmohammad3594 Před 4 měsíci

    thank you good design

  • @vedant_stone
    @vedant_stone Před 4 měsíci

    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?

    • @PeopleTeam-vi5cw
      @PeopleTeam-vi5cw Před měsícem +1

      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.

  • @sathyans3852
    @sathyans3852 Před měsícem

    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

    • @PeopleTeam-vi5cw
      @PeopleTeam-vi5cw Před měsícem

      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.

  • @Global_nomad_diaries
    @Global_nomad_diaries Před 7 dny

    10 Mins. on calculation. like seriously!!!??
    Moreover explanation on why Sql, is very incomplete and vague.
    Dang!! No Hire

  • @interestube6288
    @interestube6288 Před 3 měsíci

    Too much time into math and numbers??

    • @MinekEzQM
      @MinekEzQM Před 2 měsíci

      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.

    • @sathyans3852
      @sathyans3852 Před měsícem

      ​@@MinekEzQM: Yup he should have multiplied the total size by 10. Roughly 3 formats with 3 times replication.

    • @PeopleTeam-vi5cw
      @PeopleTeam-vi5cw Před měsícem

      Agree. numbers part can be an improvement in this design and that's a learning from the video.

  • @mohitkalra9329
    @mohitkalra9329 Před 4 měsíci

    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