Facebook Newsfeed | Instagram Newsfeed | System Design Mock Interview From System Design Bible

Sdílet
Vložit
  • čas přidán 7. 09. 2024
  • Check how you can tailor the experience you gain from System Design of Twitter Service to conduct Facebook Newsfeed System Design or Instagram Newsfeed System Design. This is a partial video from the course and for full video check out the course.
    Distributed System Design Interviews Bible | Best online resource for System Design Interview Preparation is now online. Please visit: www.thinksoftwarelearning.com?
    Please follow me on / think.software.community if you like to get notified about new course chapters getting added or any other updates. I will also take your suggestions there about the course and the channel.
    Check out our following articles:
    - How to Ace Object-Oriented Design Interviews: / how-to-ace-object-orie...
    - Elevator System Design - A tricky technical interview question: / elevator-system-design...
    - System Design of URL Shortening Service like TinyURL: / tinyurl-design-from-th...
    - File Sharing Service Like Dropbox Or Google Drive - How To Tackle System Design Interview: / how-to-tackle-system-d...
    - Design Twitter - Microservices Architecture of Twitter Service: / design-twitter-microse...
    - How to Effectively Use Mock Interviews to Prepare for FAANG Software Engineering Interviews: / how-to-effectively-use...
    - Selecting the best database for your service: / selecting-the-best-dat...
    #SystemDesign #DistributedSystems #FAANG #Facebook #Google #Amazon #Apple #Microsoft #Uber #Netflix #Oracle #Lyft #Interview #ComputerProgramming

Komentáře • 24

  • @ThinkSoftware
    @ThinkSoftware  Před 3 lety +1

    This is a partial video from the course:
    Distributed System Design Interviews Bible | Best online resource for System Design Interview Preparation is now online. Please visit: www.thinksoftwarelearning.com?
    Please follow me on facebook.com/Think.Software.Community if you like to get notified about new course chapters getting added or any other updates. I will also take your suggestions there about the course and the channel.

  • @dciswatch
    @dciswatch Před 3 lety +6

    I think there were issues early on in the interview. I don't think the candidate scoped the problem well. Why are there apis for logging in and and add/remove friends listed in the requirements, but no api to actually make a post yourself? I would ask the candidate early on why we are including these requirements that I think would have already been implemented and owned by different teams. Its fine to reference these other services as your service needs them (particularly the friendship service, Userlogin really doesn't need to be here) but they really don't belong on a list of functional requirements for a facebook newsfeed.

    • @ThinkSoftware
      @ThinkSoftware  Před 3 lety

      Thanks for the comment. Yes the candidate could have performed better.

  • @Manishsharma-tj4nn
    @Manishsharma-tj4nn Před 3 lety +1

    It took me (4 times full re-play) to understand things, Thanks for posting, waiting for your next topic👌😍

  • @SuperPooja17
    @SuperPooja17 Před 3 lety +2

    Why are we designing friend request API for news feed page design, the discussion from the start should have been more scoped towards how do we compute store the time line, and show it in a way so that user experience is good, precomputing and caching of timeline, also facebook shows a lot of recommendation post on your timeline so a reccomendation system should have been added to track users activity and suggests the new posts, also the order is important here, which post to push first etc. I think that was main crux. What do you think ?

  • @theghostwhowalk
    @theghostwhowalk Před 3 lety

    The last part about uploading new posts:
    For push model, we already cached posts from all the friends of a user. We can keep 50 in cache. When user comes online, we show him these 50. Background workers will try to query on actual database for 50 feeds for the user. We can use Most recently used eviction approach for the cache so that user won’t see same posts again. This push model can be used only for frequent users.

  • @harshilmahanoori3606
    @harshilmahanoori3606 Před 2 lety

    Very informative content, thanks for your time and effort. One question though, what is userID (PK) ? What is PK ?

  • @Paradise-kv7fn
    @Paradise-kv7fn Před 2 lety

    I got this question recently in my first interview for SSE. This was after I was given a coding question and a 5-10 mins intro. But unfortunately, I was not aware of the “rank” concept in the news feed(underprepared for system design). It will be a reject or down level from SSE to SE for me I guess 😔
    I wish I had seen this video earlier to get a feel for sys design interviews :/

    • @ThinkSoftware
      @ThinkSoftware  Před 2 lety

      Thanks for the comment

    • @Paradise-kv7fn
      @Paradise-kv7fn Před 2 lety

      @@ThinkSoftware update: got the offer 🎉

    • @ThinkSoftware
      @ThinkSoftware  Před 2 lety

      Congrats. Will like to know about your experience with the course and how it helped you. Would it be possible for you to drop an email?

  • @rahulsharma5030
    @rahulsharma5030 Před 3 lety

    Nice.
    So, is he hired or not :D?It would be good to tell this also in the end.

    • @ThinkSoftware
      @ThinkSoftware  Před 3 lety

      What do you think?

    • @rahulsharma5030
      @rahulsharma5030 Před 3 lety

      @@ThinkSoftware to be honest,I did not watch complete and unable to say so.but whatever I watch, i think he did ok,if you have some basic understanding you can learn on the go :).Thats how i would evaluate but I am not in position as of now :D

    • @ThinkSoftware
      @ThinkSoftware  Před 3 lety

      You need to check it complete to collect all the data points to decide. Especially check last 15 min of discussion.

    • @KrishnaSharma-vl4re
      @KrishnaSharma-vl4re Před 3 lety +2

      @@ThinkSoftware I guess no hire. Initial problem statement was to design news feed and a person is already friend with another user and subscribed to a page. So there was no need to defined APIs for sending/accepting friend request. The crux of the problem was how to serve the timeline which was hardly discussed through out the discussion.

  • @varshard0
    @varshard0 Před 3 lety

    The caption faded away too fast that I have to pause to read them.