Twitter / Newsfeed System Design Interview Question

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

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

  • @findtharun
    @findtharun 2 месяца назад +1

    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  2 месяца назад

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

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

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

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

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

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

      @@TechPrepYT definitely!

  • @adriablancafort
    @adriablancafort 6 месяцев назад +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  6 месяцев назад +1

      It's on the roadmap don't worry 🤝

    • @adriablancafort
      @adriablancafort 6 месяцев назад +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  6 месяцев назад

      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 6 месяцев назад

      @@TechPrepYT Cool! Can't wait.

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

    nice content,you'll have countless followers in future

  • @flobuilds
    @flobuilds 6 месяцев назад +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  6 месяцев назад +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 6 месяцев назад

      @@TechPrepYT thanks for the reply

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

    The table is getting another beating. Great video!

  • @paulywalnutz5855
    @paulywalnutz5855 6 месяцев назад

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

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

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

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

    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  6 месяцев назад

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

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

      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  6 месяцев назад

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

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

      Yeah sure @@TechPrepYT

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

    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  6 месяцев назад +1

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

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

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

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

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

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

    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 6 месяцев назад

    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 6 месяцев назад

    This was cool
    Was expecting some Machine learning aspect

  • @user-xc7rp5pr2l
    @user-xc7rp5pr2l 7 месяцев назад

    Interesting breakdown ❤

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

    great content, precise and elegant

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

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

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

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

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

    Amazing and educational

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

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

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

    Interview question for 600$ month

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

    *promosm*

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

    nice explanation and content is good

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

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

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

    nice explanation dude