System Design Interview Walkthrough: Design Twitter

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

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

  • @hello_interview
    @hello_interview  3 месяца назад +40

    Heads up, you'll notice that the approach and framework in this video are different from our other ones. This video was made many months before the first from the recent series. While the approach here is by no means wrong, we recommend the framework in our other videos more. We considered deleting it, but have left this up because candidates continue to find it valuable and we don't want to take that away.

    • @laffs4084
      @laffs4084 3 месяца назад

      Can you outline what is different?

    • @JeffreyJohnson25
      @JeffreyJohnson25 3 месяца назад +4

      This video also seems very skinny compared to some of the more recent ones which drill into some of the details of the design decisions. Would you folks consider redoing this design with a more of an E6 focus again?

    • @odedejikehinde6514
      @odedejikehinde6514 3 месяца назад

      Hi, thank you very much for this video on system design, I stumbled on your channel yesterday and till now I've been consuming your video series on system design. Thanks again.
      However, I'd like to take a course dedicated to teaching system design with a well curated learning pattern(comprehensive and beginner friendly), would you mind recommending any ?

    • @MattPileggi
      @MattPileggi 3 месяца назад

      @@laffs4084 It doesn't follow their recommended structure. For example, you'd define the core entities and API contracts before hitting the high level design. And the design itself should be as simple as possible to satisfy the requirements. Then you'd go into different areas of deep dives that were interesting, rather than deep dive as you go and risk running out of time to make a complete system. That's my understanding at least!

    • @MattPileggi
      @MattPileggi 3 месяца назад +1

      I've been watching all of your videos in preparation and this actually makes me curious. Is this video closer to what you'd expect to see from a candidate since it was more "fresh" to your experiences as an interviewer, and the months you've since spent refining the process for the channel is more theoretical than practical? It's probably a common trajectory for creating educational content vs the rough experience on the ground, so to speak. Either way, I'm taking notes and fully appreciate the clear and concise instruction your channel has provided.

  • @theDevme
    @theDevme 8 месяцев назад +21

    Man, you covered everything. Thank you, please make such videos. Your videos are point-to-point without any distractions.

  • @koki44443
    @koki44443 Месяц назад +3

    Dude, its insane we can get this content for free. Im just starting out to prepare for the system design interview and your content is a godsend. I cannot put my appreciation into words. Thank you ever so kindly.

  • @pratu16x7
    @pratu16x7 4 месяца назад +13

    I have been waiting for years for someone to create understandable, well thought out, structured explanations for hard concepts like the ones Alvin from Structy made for dynamic programming (that are now my single resource on the topic), but instead for system design. I think I finally found them. I immensely appreciate the work you put into this and the Hello Interview resources.

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

    I have watched many hours of system design videos. This video is the best one that covers majority of the important topics. Thank you for making this!

  • @alexyoung763
    @alexyoung763 Год назад +5

    Amazing video! One of the best system design videos I've seen. Clean, simple, yet goes over a lot of important topics and beyond. Keep it up!

  • @RolopIsHere
    @RolopIsHere 2 месяца назад +4

    This videos helped me a lot to see things I did not see before and I did not know where to learn! Thanks a million! I always passed code interviews but failed the system design so my offers from Meta, Microsoft, Google and Amazon were always demoting... All this videos helped me a lot to realize what the problem was.

  • @programmershots
    @programmershots Месяц назад +2

    Thanks for making this video. One of the best system design for Twitter I have found that explains clearly. Probably, API reference and capacity metrics should have been discussed as well prior to designing the architecture diagram.

  • @blackthoughtz795
    @blackthoughtz795 4 месяца назад +3

    Honestly one of the best SD explanations I’ve seen

  • @e431215
    @e431215 Месяц назад +1

    Great video as always, a few follow-up questions.
    1> How user get the notification when someone likes or reply to his tweet?
    2> Is Fanout done for dormant users too, if yes then it's a waste of expensive Cache.

  • @dp8jl
    @dp8jl 27 дней назад +1

    This is amazing, starting to prepare for system design interview. This video puts everything together so well. Practicing on the AI dashboard now. Great work 👏🏻

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

    Warm greetings from Armenia. I searched so long time content like this, before i had found. Tnx for really precious content🙏

  • @landocodes
    @landocodes 9 месяцев назад +3

    Hey this was great! Would love to see more of this.

  • @Ofekl999
    @Ofekl999 8 месяцев назад +4

    You store replies in a separate database, why not store replies and retweets in different databases as well ? their scale is massively different .
    By the way, your website is probably one of the best I've seen in terms of learning system design - the way you present information with trade offs, questions and answers is really well done.

  • @deathbombs
    @deathbombs 6 месяцев назад +2

    Youre diagrams are somehow so clear despite having complex lengthy requirements !

  • @jrajesh11
    @jrajesh11 15 дней назад +1

    This video focuses on functionality that is also apart from the core Twitter design. Likes unfollow , reporting and spam detection are specific to Twitter. And also search can be done in depth. However load balancing aspects were covered. But API gateway could have been dealt more about its functionality specific to Twitter. However it’s a great effort for free content

  • @haviettien1914
    @haviettien1914 4 месяца назад

    I have read and looked into many articles about building SNS. This one is the best so far. Thank you so much

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

    The pounding sound while dropping a new diagram object is UNBEARABLE 🔨🔨

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

      Checkout the new videos. Totally different format and much improved. You won’t see it again :)

    • @griffsterb
      @griffsterb 4 месяца назад +5

      At first I thought the dude was slamming his hand on the table each time 🤣

    • @hello_interview
      @hello_interview  4 месяца назад +1

      @@griffsterb 💥🙉

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

    Thanks man 👌
    This is what API Gateway server special for. It is to handle any non-functional requirements. like rate-limit, caching, security. etc.
    But I think you had to mention that to not confuse the beginners

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

      It’s main responsibility is to route api requests to the correct microservice, but it also can handle general responsibilities like auth, rate limiting, ssl termination, etc

  • @loadingSEA
    @loadingSEA 8 дней назад

    One advantage that I could assume that the video is more effective is that it is a much shorter video. It shows a equally deep dived interview but with half/ a third the length. Although I will not use this structure during the interview, I would assume that a more senior eng could benefit from the video

  • @amalsalim88
    @amalsalim88 5 месяцев назад +1

    finally a prepared system design rather than doing it live. simplified it well. thank you

  • @Ryan-g7h
    @Ryan-g7h 2 месяца назад

    dude, you rock for making hellointerview

  • @simonc2777
    @simonc2777 3 месяца назад

    Question about the fanout strategy. So based on how I understand it:
    Fanout-on-write: Async (pre?) constructing timeline in a cache, where the most recent tweets of the followed accounts are pre-pended so that when a user makes a READ request for the timeline, it already has that timeline available.
    Fanout-on-read: Helps solve the celebrity problem, where rather than writing to millions of timelines, wait until the READ request for a user's timeline is made. At that point, you can integrate the followed celebrity(ies)' most recent tweets and programmatically add them in.
    How about when a user, although unlikely, follows thousands of celebrities? That adds latency if millions of users are following tens of thousands of celebrities. The way I considered answering this in a SD interview:
    - That is unlikely, so don't solve (not a good answer)
    - Fanout-on-write. Determine users that cross a specific threshold of "celebrity" acounts, and when a celebrity tweets, DO write to specific timelines - the timelines for users that crossed that threshold.
    - Limit the number of followers.
    What is your advice in this scenario?

  • @e431215
    @e431215 Месяц назад +2

    Why Cassandra was not considered for writing the tweets? Its a write optimised DB and good for huge volume.

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

    I think that in a microservice architecture, the API Gateway should be placed before the load balancer. The request goes to the gateway first, then each microservice has a load balancer.

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

    Wonderful, I've watched all of the videos on your channel and I'm kind finishing up with this one. I guess this was a proof of concept perhaps? Either way, it's great. Love to see that you defined a framework for the other videos. Looking forward to more of those!

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

      Yah this was the first one i made a while ago and honestly consider deleting

    • @zfarahx
      @zfarahx 6 месяцев назад +1

      @@hello_interview for what it’s worth, I learned a ton from this one.
      - You showcase here that it’s worth delineating read/write paths for specific* services, which is not something you folks have done in the other videos (it sounds obvious but it’s not for someone of my level).
      - You spend a bunch of time towards the end talking about salient points we could make, whether related to security, monitoring and testing. Again, points you don’t quite bring up in the others.
      Now if you’re ever going to make a new Twitter design video, perhaps? I don’t know, you guys are doing a tremendous job leading this anyway. Thought I’d share some user-feedback. Cheers.

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

    It's interesting to notice how much your content has evolved between this walkthrough and your other system design videos. Lots of breadth, less depth, and the design feels a like bit more complicated, likely due to the breadth covered.

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

      We're trying to pull some of that depth into our deep dive series. We're going to try to have and eat the cake!

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

    What a great video! Very insightful stuff.

  • @vishnuv4813
    @vishnuv4813 Месяц назад

    On a litter note , Wondering, why companies ask for System Design of FB,Twitter , Netflix designs, etc. If at all I know all of these, I would be a Billionaire by now and don't even bother to attend technical interviews. 😆😆. But nevertheless, this video is a very good one !

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

    Awesome! well Explained. Elastic Search should also CDC with user profile just in case if someone want to search user profile or accounts.

  • @user-gj1ps4kq3e
    @user-gj1ps4kq3e 2 месяца назад +5

    Load balancer in front of API GW is redundant.

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

    Amazing video. Quick followups:
    1. I see you have stored Likes on tweets in the tweet document itself. Please throw some light on how would the flow be for someone liking a tweet. I don't think it should go through the tweet CRUD route.
    2. Please share more about the CDC.

  • @goosfraba-man
    @goosfraba-man 6 месяцев назад

    Found your content on reddit and this is great. tyty

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

    Thanks for this video. You have definitely covered a lot of topics in breadth, but isn't the expectation in a design interview to atleast deep dive into one of the components ? Would you give a hire feedback for an E5 candidate who presented exactly the same content as that of this video in their onsite interviews ?

    • @hello_interview
      @hello_interview  Год назад +4

      Great question! This solution would be adequate for an E4 candidate, but not for an E5+ candidate, for the reason you mentioned. As candidates get more senior, the expectation is less breadth and more depth. For an E5 candidate, I'd suggest you find 1-2 places to go deeper. For Twitter in particular, the search component could be one of these places.

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

      ​@@hello_interviewthanks for your response. Do you have some suggestions reagrding the time distribution to finish a design(including deep dive in one component) in a 40 minute Meta interview ?

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

    amazing, best on youtube! please post more

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

    Great! Super common question. Instagram or link shortener next please!

  • @Marcus-yc3ib
    @Marcus-yc3ib Месяц назад

    Thank you so much. You really help me a lot.

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

    Awesome man! Keep these valuable videos!!

  • @MorganMcCrory
    @MorganMcCrory 26 дней назад

    hey, great video! i know you touch on this in more recent videos, but how would the mid-level/senior/staff expectations differ for this problem?

  • @bhaskardabhi
    @bhaskardabhi 5 месяцев назад +2

    May be a noob question, why do you need Load balancer before Api gateway? shouldnt that be after api gateway as gateway itself will be resilient enough to balance the traffic? May be after gateway we decide if request is going to particular service then which server of that particular service it should goto?

    • @hello_interview
      @hello_interview  5 месяцев назад +1

      Not a noob question, this is confusing. It is just an abstract here but i've dropped it since it confused a lot of people. In reality, each horizontally scaled service has its own load balancer. I just did not want to draw all of them.

  • @chrisgordon-x5c
    @chrisgordon-x5c 15 дней назад

    two issues: 1- In describing ELK you said something like "..we use Elasticsearch for storing the logs, Logstash to analyze it and Kibana to present it (dashboard). this is not entirely correct. we use Logstash to capture logs from system components, Elasticsearch to store and analyze the logs, and Kibana as dashboard. 2- The API Gateway comes first before LB not the other way around as you presented, so the flow is something like " Client → API Gateway → Load Balancer → Backend Services (e.g., tweet service, user service) ...

  • @amankedia764
    @amankedia764 4 месяца назад +1

    Thanks for the video, very informational.
    Shouldn't API gateway go before Load balancer?
    and each service has it's own load balancer?

  • @ayushjindal4981
    @ayushjindal4981 Месяц назад +1

    Hey, for viral tweets, we get a lot of likes and retweets. In that case, we will need to edit the MongoDB document for that tweet thousands of times. So, is noSQL a better choice in that case or shall we choose SQL with normalised tables?

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

    it would be great if you have deep dived into datastore , how its handled internally.

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

    HelloInterview to the world! Great great content.

  • @310gowthamsagar5
    @310gowthamsagar5 Месяц назад

    Thank you.

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

    Great work. Thanks for sharing!

  • @rostislav_engineer
    @rostislav_engineer 3 месяца назад

    thanks for this video 😊

  • @fatemehrezaei3727
    @fatemehrezaei3727 4 месяца назад

    Thanks for the great video!

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

    Amazing video as always! Would you consider re-doing this with the newer format of your videos or so twitter search/newsfeed?

  • @themangolady
    @themangolady 4 месяца назад

    Great video! Can you please do a write up for system design of Twitter in your newer format on your site? I could only find Tweet search and Facebook feed that are related.

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

    Simple recommendation algo can be one word: popularity

  • @ayushjindal4981
    @ayushjindal4981 Месяц назад

    Why do you choose NoSQL over SQL for Tweets? Is it because:
    1. Faster writes because no table structure needs to be followed?
    2. Asynchronous writing in NoSQL?
    3. SQL would generally ask me to normalise the likes and retweets table and thus, slowness in joins while reading?

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

    Load balancer should be placed after API gateway, right ?

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

      Everything, including the gateway, needs to be balanced. It’s just an abstraction, don’t worry too much about it

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

    This is how you do it. Whole twitter in 20 minutes. OP, you are the best. I didn't get though why user profiles need to be stored in a sql db, why mongo would be a poor choice? Analytics can be it's own separate DB. Will a SQL DB sustain analytics and logins with 300+M active users? if you shard the DB, then is it possible to do analytics? Also when a user follows another one, it should be recorded such that timeline takes that into consideration (oh you added it later :) ). What about rate limiters? Is it a separate service such that the throttling data per account is in central place? I liked you touched security, logging and monitoring. Is this something that interviewers are looking for?

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

      "Is this something that interviewers are looking for?" - Depends on the interview. I have had a few where they told me ahead of time they wanted to touch on security, monitoring, and maintainability. This is likely something you can ask the recruiter ahead of time for clarification.

  • @schan263
    @schan263 4 месяца назад

    In this video why did we skip the core entities and API steps of the framework? I really enjoyed the video. I never thought of the replies being in a separate database. I wished I had discovered your channel before I had my interviews.

    • @hello_interview
      @hello_interview  4 месяца назад +1

      Tbh, because this video is old and before we introduced the delivery framework. Left it up because people still find it valuable

  • @odedejikehinde6514
    @odedejikehinde6514 3 месяца назад

    Hi, thank you very much for this video on system design, I stumbled on your channel yesterday and till now I've been consuming your video series on system design. Thanks again.
    However, I'd like to take a course dedicated to teaching system design with a well curated learning pattern(comprehensive and beginner friendly), would you mind recommending any ?

  • @Juniray411
    @Juniray411 28 дней назад

    This was really good. Can you do one on designing an online ticket system. e.g Ticketmaster

  • @drew9284
    @drew9284 8 месяцев назад +26

    Feedback while watching the video - I'm not sure if it's from the diagramming app or added but the pounding sound effect when adding a new service is annoying and detracts from the viewing experience. The content is super helpful though.

    • @adrian333dev
      @adrian333dev 5 месяцев назад +2

      FR it feels like Evan gets mad and hits the desk out of anger 😂😂😂

    • @dp8jl
      @dp8jl 15 дней назад

      That’s crazy, it makes so easy to focus

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

    Great video! Will will definitely check out the site. Couple of questions from your design:
    Why create a separate Auth service instead of handling it in API gateways? Also, how is Auth performed when creating Tweets if that service is under the Profile service?
    When building a cached timeline, do you see this as a key-value store with user_id keys and prepend-only log of tweet_ids? {user_id: [...]}

  • @ayushjindal4981
    @ayushjindal4981 Месяц назад

    Didn't understand why you chose SQL for UserProfiles?
    1. Querying on different attributes - Does NoSQL not provide this? Its all about indexing, right?
    2. ACID - Why do we need ACID properties for UserProfiles?
    3. Joins - Which table do you want the Users table to join with? All other tables are NoSQL or Graph, so how do we perform joins?

  • @shamassive
    @shamassive 3 месяца назад

    This is a totally different approach from the other systems interview questions... In the others we do a simplified diagram and then deep-dive to add complexity. Which is the better approach?

    • @hello_interview
      @hello_interview  3 месяца назад

      The other ones. This was made way before the others. Consider deleting, but people still find value from it so left it up.

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

    Amazing content! Keep up the great work! 🙌

  • @shantipriya370
    @shantipriya370 20 дней назад

    thanks for the video.. video is really amazing but the background music is a bit distracting..

    • @hello_interview
      @hello_interview  20 дней назад

      This was an early attempt at making these. All the superfluous noises are long gone. Check the more recent videos

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

    There is one little detail that bothered me. The system could populate the celebrity's feeds in the cache, but when the timeline service tries to get the final timeline, it has to know the celebrities list, so that it can retrieve it from the cache. But how to get the exact celebrities list that was ignored earlier?

  • @CS-eh8eo
    @CS-eh8eo Месяц назад

    How can you rate limit from stateless API gateway, are you suggesting a) using IP hash based load balancing and storing state on the gateway workers? b) using distributed state storage cache and reading from this upon every http request?

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

    Excellent👌

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

    Excelente video, thanks🎉

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

    For timeline calculation, instead of messaging queue writing for each tweet to all followers cache, could we use pub/sub? Publisher = tweeter, subscribers = followers
    Or could we instead use streaming followed by batching? I guess in this case since timelines are all unique to each user, batch processing is overkill.

  • @user-kb5vl8hj4e
    @user-kb5vl8hj4e Месяц назад

    One part I’m confused, how do we efficiently tell whether user follows celebrities and thus know whether cache is updated or not. Do We maintain a service for that?like when user sub a influencer we add a tag to the user?

  • @joaocpflorencio
    @joaocpflorencio 3 месяца назад

    What's the pupose of using a Load Balancer if you decided to use API Gateway?

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

    This is an awesome content. Best so far I have seen when compared to others on this problem .
    It would have been great to go into details of some topics like , how are we updating redis cache ? What does data model of followers /followee looks like?

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

      Yah tbh this video is pretty high level, targeting more mid level (ic4) candidates. For much more depth check out the other two videos on the channel!

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

      @@hello_interview will do . thx!

  • @ugene1100
    @ugene1100 8 месяцев назад +1

    Thank you for the great content. Really appreciate it!

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

    I know you said you changed approach and framework, is that why you use an application gateway (and just say it does LB/Rate Limiting/Auth) in the Uber video but here you break things out?

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

    Each follower has timeline cache. Since its for each follower data is stored, which kind of data store its is ?

  • @viktorianorekyan1349
    @viktorianorekyan1349 4 месяца назад

    Can we rely on API gateway to handle rate limiting and authentication without adding separate services for those?

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

    You talked about using cache for popular tweets but where this cache is being used? If it's in the timeline service than how does the system knows that one of the tweet in the cache is from one of the user's follower and hence needs to be included in the timeline?

  • @manan_chhajed
    @manan_chhajed 3 месяца назад

    too good!

  • @CS-eh8eo
    @CS-eh8eo Месяц назад

    Where do we draw the line between handling of mega users vs normal users? To me this suggests an issue with the design, is this actually the way big social media companies handle this?

  • @doertedev
    @doertedev 3 месяца назад

    the last time i heard laptop button presses that loud i had a colleague (sre) that got a dell laptop where the mic and camera are just besides the keyboard. :D

  • @jainendrakumar5920
    @jainendrakumar5920 Месяц назад

    can load balancer act as api gateway also ?

  • @pmunna545
    @pmunna545 Месяц назад +1

    no background music please

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

    Big fan of your explanation since I found you in a Reddit comment! Does this one have a written version? I couldn't find it on the website

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

      Nope, this the only one that doesn’t hit the newsfeed write up should be similar

  • @ShivangiSingh-wc3gk
    @ShivangiSingh-wc3gk 20 дней назад

    This was not my fav in the series, I would recommend Jordan has no lifes Twitter Design to actually understand why some choicws were made. Just bought your System Design tool, looking forward to more questions being added

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

    regarding twitter DB sharding, do you suggest sharding by userID or by twitterID, and why?

    • @hello_interview
      @hello_interview  4 месяца назад +1

      userId, more queries to see a users profile than to look up a specific tweet id

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

    Hey Evan,
    Around 15 minute, when you create a message queue for timeline fanout -- in this case, wouldn't it be better if we used something like CDC with Kafka/Kinesis to capture new tweets directly from the database?
    I'm just thinking there might be more failure scenarios to handle with pushing directly to message queue from the tweet service -- i.e. how do we make sure we don't miss tweets for fanout if the message queue goes down? How do we handle if database write fails? Only push it to the queue when write is successful?
    Also I guess this is a more general question because I've struggled with it interviews -- how do you decide between using a message queue and a stream for a particular problem? Because I've found there is some overlap where both can work

    • @lukt
      @lukt 6 месяцев назад +1

      I think in a very recent video, he mentioned that generally CDC should only be used for kicking off anything asynchronous, but should be avoided for synchronous low latency tasks.
      Since the task being kicked off here is asynchronous, I think you make a good point of using a CDC.
      Hope this helps as a vague guideline.

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

    Hm. Why Redis plus CDN? Doesn’t the CDN already cache? Isn’t Redis for all tweets really expensive? On cost, no back of the envelope math? No discussion of microservice infrastructure? Lambda/EC2/EKS?

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

    Can you please share HLD of something like mixpanel?

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

    Awesome content. What is the whiteboarding tool that you use?

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

    Silly question really: what's the name of the tool you used to take notes and sketch diagrams?

  • @PrateekAgarawal-vy2sq
    @PrateekAgarawal-vy2sq 3 месяца назад

    Which draw tool is this?

  • @jtbowler9813
    @jtbowler9813 18 дней назад

    Why have a load balancer in front of the API gateway?

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

    This is great but just didn't got one thing - why put load balancer before api gateway?

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

      Just an abstraction. Each service (gateway, services) will have a load balancer

    • @GoldenAxe8
      @GoldenAxe8 19 дней назад

      @@hello_interview so it's still should have been the other way around, even if you didn't wanted to draw each load balancer before each service, the right abstraction here should have been API Gateway first then Load Balancer. If you are drawing the load balancer first and then the API gateway it's like saying you duplicate the entire set of components behind it (i.e. duplication of several API gateways with services) so the load balancer will actually have somewhere to distribute the requests (note that this might be a valid solution as well for robust scale).

  • @skumakerguitar8708
    @skumakerguitar8708 4 месяца назад

    Hi I have seen there are two micro services consuming same database , isn't it going to coupled between two of them and hard to scale ?

    • @hello_interview
      @hello_interview  4 месяца назад

      Not a concern imo. But you'll certainly find textbooks or microservice zealots who disagree. Managing more dbs than you need to is a pain and has higher downside.

  • @helder_mendes
    @helder_mendes 20 дней назад

    which is software is this that you use to make the video drawings?

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

    How do you guys concentrate for so long on coding and know exactly what to do i want to do a career change but how should i get in

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

      Like most things, it gets easier after you do it for a while!

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

    is cdc some endpoint that database provides out of the box, or is it some tool, or a stand-alone microservice?

    • @hello_interview
      @hello_interview  6 месяцев назад +1

      Most DBs have some form of event capture nowadays. They expose connectors where you can configure a streaming technology where the DB places new events on the stream.

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

    This is a great resourc, but I don't see the interactive AI powered whiteboard in your website. Is that still in development?

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

      Click on mock interviews in the nav then “AI mocks” on the left nav

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

    why sometimes you design the actual API and http methods in detial, other times you draw requests to microservices without mentioning APIs

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

    Does twitter mainly use MySQL?