Twitter / Newsfeed System Design Interview Question

Поделиться
HTML-код
  • Опубликовано: 10 фев 2025

Комментарии • 41

  • @TechPrepYT
    @TechPrepYT  2 месяца назад

    🔍 Full Write Up + Bonus Section (What Top Tech Interviewers Really Want to See) → www.techprep.app/system-design 🎯

  • @antonignatenko7776
    @antonignatenko7776 Год назад +7

    this is literally what i’ve been looking all over youtube
    finally
    mate need more of this

    • @TechPrepYT
      @TechPrepYT  11 месяцев назад

      Appreciate the support! Could I use this comment on the website?

    • @antonignatenko7776
      @antonignatenko7776 11 месяцев назад

      @@TechPrepYT definitely!

  • @JasonChen-ue9vm
    @JasonChen-ue9vm 11 месяцев назад +3

    nice content,you'll have countless followers in future

  • @findtharun
    @findtharun 7 месяцев назад

    Your videos are truly underrated - crisp and clear. I believe your channel has a lot of potential, and your website has a wealth of content that could be very helpful for my interview preparations.
    kudos to your expertise and hard work in content creation!!

    • @TechPrepYT
      @TechPrepYT  7 месяцев назад

      Glad you like the video format! Really appreciate the kind words!

  • @adriablancafort
    @adriablancafort 11 месяцев назад +1

    Very valuable content!
    You've done tiny url, a social media and a search engine. Now it's time for an in depth ecommerce system design video. I would love to see that!

    • @TechPrepYT
      @TechPrepYT  11 месяцев назад +1

      It's on the roadmap don't worry 🤝

    • @adriablancafort
      @adriablancafort 11 месяцев назад +1

      @@TechPrepYT Great. We would love to see how you discuss the design of the rest api and how you structure the architecture of all the different services for the cart, product listings, user accounts, whishlist, etc. I would really love if you can talk a bit about the product recommendation system, infinite scroll pagination in the rest api, etc.

    • @TechPrepYT
      @TechPrepYT  11 месяцев назад

      Yes the video will definitely cover all of those services, but it mightn't just be a REST API. I most likely will also include a GraphQL API to handle the nested nature of some of the data (e.g. products) as well as pagination etc.

    • @adriablancafort
      @adriablancafort 11 месяцев назад

      @@TechPrepYT Cool! Can't wait.

  • @AkaThePistachio
    @AkaThePistachio 11 месяцев назад

    Can see your channel growing big with content like this, Im a recent grad of computer science strugging with technical interviews so stuff like this is really helpful

    • @TechPrepYT
      @TechPrepYT  11 месяцев назад

      Appreciate the kind words! If you email techprepbusinss@gmail.com, I can give you free access to techprep.app if you want!

    • @AkaThePistachio
      @AkaThePistachio 11 месяцев назад

      Yeah will do that would be great! I find myself feeling like a bit of an imposter I managed to get a first but I struggle with stuff from my 1st year so been trying to go back over this stuff so I dont get caught out in interviews@@TechPrepYT

    • @TechPrepYT
      @TechPrepYT  11 месяцев назад

      Appreciate the support! Could I use the top comment above on the website? And also don't hesitate to send the email!

    • @AkaThePistachio
      @AkaThePistachio 11 месяцев назад

      Yeah sure @@TechPrepYT

  • @Sub0x-x40
    @Sub0x-x40 11 месяцев назад

    im literally doing system design at uni now and this is just golden content

    • @TechPrepYT
      @TechPrepYT  11 месяцев назад

      Appreciate the support! Could I use this comment on the website?

  • @9_9_2
    @9_9_2 10 месяцев назад

    The table is getting another beating. Great video!

  • @agb2557
    @agb2557 11 месяцев назад

    Thank you for your videos, they’re really informative. You deserve many more subscribers!
    Just a small bit of feedback, there some background noise like tapping which is a tad jarring when using headphones.

    • @TechPrepYT
      @TechPrepYT  11 месяцев назад +1

      Thanks for the feedback! I'll try to improve it in the future 👍

  • @flobuilds
    @flobuilds 11 месяцев назад +2

    Great video but maybe a little extra improvement could be to disconnect the user from the profile. So have one sso service for handling users (security, login/register, user info,... ) and one profile service for storing the profile info like in this case the follower stuff etc. and use this for the other Services and reference the connected user id in the Profile. This could allow for a user to have multiple profiles on a single account and to have the whole security logic be somewhere else for better Performance and maybe when creating a new system to use the same sso for login with your account

    • @TechPrepYT
      @TechPrepYT  11 месяцев назад +2

      Great comment! Yes 100% agree this would be a very important service to implement to make the system more robust and extensible. If you were using a cloud provider they have services like AWS Cognito which would help you implement this. This is definitely something worth including in this system design!

    • @flobuilds
      @flobuilds 11 месяцев назад

      @@TechPrepYT thanks for the reply

  • @NamalJayathunga
    @NamalJayathunga 11 месяцев назад

    Your content are amazing. Thank you. I want to learn server and db scaling deeply.

    • @TechPrepYT
      @TechPrepYT  11 месяцев назад

      Appreciate the support! Could I use this comment on the website?

  • @runzhou3070
    @runzhou3070 Год назад

    great content, precise and elegant

    • @TechPrepYT
      @TechPrepYT  11 месяцев назад

      Appreciate the support! Could I use this comment on the website?

  • @thein3rovert-l9c
    @thein3rovert-l9c Год назад

    Interesting breakdown ❤

  • @cheeto4950
    @cheeto4950 11 месяцев назад

    Amazing and educational

    • @TechPrepYT
      @TechPrepYT  11 месяцев назад

      Appreciate the support! Could I use this comment on the website?

  • @b3arwithm3
    @b3arwithm3 10 месяцев назад

    Great solution. I didn't fully get how the hybrid push and pull model would work. Let say i follow 10 users and 2 of them have huge followers. It seems the system would build my feed with tweets from the 8 less popular users I follow. Then what is next when I retrieve my feed? Can you please elaborate more? Thank you

  • @bishwanayak
    @bishwanayak 11 месяцев назад

    In this Data model, should we keep followers in a different table? This would make followers table heavy if we keep all the users data in this table, retrieval would be time taking.
    What if we maintain a column in user table to keep the list of followers?

  • @iamgabrielsoft5891
    @iamgabrielsoft5891 Год назад

    This was cool
    Was expecting some Machine learning aspect

  • @dibll
    @dibll 11 месяцев назад

    How does the tweet service know which cache server to store a particular user tweets into in a push model?

  • @vladostema
    @vladostema 11 месяцев назад

    Interview question for 600$ month

  • @lawrenceo3665
    @lawrenceo3665 11 месяцев назад

    *promosm*

  • @labadepradip7734
    @labadepradip7734 11 месяцев назад

    nice explanation and content is good

    • @TechPrepYT
      @TechPrepYT  11 месяцев назад

      Appreciate the support! Could I use this comment on the website?

  • @maez4315
    @maez4315 Год назад

    nice explanation dude