Frontend System Design Interview (Build Instagram)

Поділитися
Вставка
  • Опубліковано 16 січ 2025

КОМЕНТАРІ • 48

  • @sujoysaha2169
    @sujoysaha2169 2 місяці тому +9

    I felt the conversation leaned heavily towards backend system design, covering primarily backend challenges.

  • @lelandrb
    @lelandrb 7 місяців тому +24

    I felt like this only began to touch on quite generic frontend system architecture at 17:00. I have not had FE System Design interviews that have asked me to build out the architecture of the entire system. Especially around things like deciding to add a CDN to better handle large loads. I *have* had generic "System Design" interviews do that, though.
    Although the virtualized scrolling mention touches on performance, there was no discussion around state management, internationalization, accessibility, API design, and so on.

    • @therealseniordev
      @therealseniordev  7 місяців тому +3

      We are preparing a much more in depth part two :)

    • @nikoman71326
      @nikoman71326 4 місяці тому +1

      @@therealseniordev still preparing?

    • @Alan-lb8ef
      @Alan-lb8ef 2 місяці тому

      @@therealseniordev this part two must have the same depth as the mariana trench since that comment was 4 months ago lol

  • @gokulkrishh
    @gokulkrishh 6 місяців тому +19

    This video was good reason it covers more than frontend. But your title says Frontend System Design but most of the discussion was around backend stuff like load balancer, db, redis etc, which a frontend would never take these decisions. So its kind of mis-leading when you say frontend system design.
    Ideally imo, frontend system design would talk about ui architecture, component decisions, data store, optimisation in frontend etc.

    • @therealseniordev
      @therealseniordev  6 місяців тому

      Hey @gokul, we are preparing a part two, that will be focused specifically on the client side system design - stay tunned!

  • @rixis2940
    @rixis2940 5 місяців тому +11

    A frontend system design interview is not going to require you to go into depth on what's happening on the server, you can treat it as a black box. You should really take frontend out of the title of this video as asking questions about load, peak hours, scaling etc would much better suit a backend role, perhaps "Fullstack system design mock interview" would be better.
    Frontend is going to care more about how your UI handles data, how the UI communicates data between the client-store and the server, interactions and what APIs you'll need and the data they might use.

    • @therealseniordev
      @therealseniordev  5 місяців тому +4

      that might be true, but you don't get to choose how companies interview you, some companies will keep it 100% FE others will go into fullstack topics even in a FE interview, which is why the safe bet is to be prepared for both

    • @indrapreetsingh3727
      @indrapreetsingh3727 4 місяці тому +4

      I totally agree to @rixis2940 . This video is misleading. This is not a front end system design . it is misleading .

    • @yashsomani3437
      @yashsomani3437 4 місяці тому +1

      I am agree with you. This video is about full stack system design..

  • @walberamorimsp
    @walberamorimsp 2 місяці тому +1

    This the best UA-cam channel

  • @anastasiastarostina9309
    @anastasiastarostina9309 7 місяців тому +2

    Really helpful! Thank you for making these videos 🙌🏻

  • @pranitapanigrahi3517
    @pranitapanigrahi3517 7 місяців тому +1

    Thank you for creating such informative videos .
    Please make video on system design which includes about architectural patterns.Which pattern should be picked and why . Benefits and tradeoffs.

  • @adibirta
    @adibirta 7 місяців тому +1

    Amazing job done here!
    I'm wondering if you can create another session about interview questions related to SOLID principles and OOP principles. I got these questions a few days ago in an interview. Thank you!
    Wishing you all the best!

    • @therealseniordev
      @therealseniordev  7 місяців тому +1

      We will add this to our backlog @Adi! Thanks for the suggestion

  • @ankitdawra4308
    @ankitdawra4308 7 місяців тому +2

    Great discussion! But I don't get that why it isn't a good case for SSR. Can you please explain?

    • @therealseniordev
      @therealseniordev  7 місяців тому +1

      Hey Ankit, because the feed is very dynamic and SEO is not important for the feed section, SSR does not pay off

    • @lelandrb
      @lelandrb 7 місяців тому

      You can't render server side because all the fetches happen statefully, during load. You could hydrate skeleton components, however, so your users get fast-er initial load times.

  • @ignaciopulicedonatto8987
    @ignaciopulicedonatto8987 7 місяців тому +1

    Great video guys, keep doing this kind of videos.

  • @mistahendrix
    @mistahendrix Місяць тому

    How would the requirements change if this was mobile instead of web?

  • @זוהרנייגו
    @זוהרנייגו 6 місяців тому

    One of the best demo design interview i have seen

  • @holycode9218
    @holycode9218 4 місяці тому

    is stickiness an important metric when designing the system? DAU / MAU

  • @madhanravi4365
    @madhanravi4365 7 місяців тому +1

    Awesome content, very useful ❤

  • @cristobalheiss5349
    @cristobalheiss5349 7 місяців тому +1

    quality content, this was very good

  • @Its.implyfai
    @Its.implyfai 4 місяці тому

    It's more like a FullStack / near Backend Design system rather than focusing on real frontend chalenges in this type of apps.
    But very good content

  • @MrYyope15555
    @MrYyope15555 7 місяців тому

    Thank you so much!

  • @haniahani5351
    @haniahani5351 7 місяців тому +4

    Need more full Stack system design. Particularly for millions users. How we can handle million users on front end and back end. Please first explain it and then do it with code example.

    • @therealseniordev
      @therealseniordev  7 місяців тому +3

      yes, we are working on a video like that, stay tuned

    • @StingSting844
      @StingSting844 7 місяців тому +2

      It doesn't make sense to ask this question because no one designs for a million users from day one. Everything just evolves and scales

    • @ihateslowcars
      @ihateslowcars 7 місяців тому

      @StingSting844 It’s an interview question, so they are probably going to ask you to design based on a high number of users and requests because the company may already be at that scale.

  • @HunorMartonBorbely
    @HunorMartonBorbely 6 місяців тому +2

    Bogdan was not bogged down 🤣

  • @miladzai8708
    @miladzai8708 2 місяці тому +1

    I don't agree withsome aspects of this process. This was about Frontend, you don't have to include databases and image blob storage solutions. That's BE headache, not FE.

  • @synchromatik
    @synchromatik 7 місяців тому

    Question: How is "likes/comments - out of scope" in this context? Where they gona be stored? "Cloud"?

    • @therealseniordev
      @therealseniordev  7 місяців тому

      Hey there, we left it out of scope to keep things simple! Given the real-time aspect it is a bit more complex to design

    • @markgoldstein
      @markgoldstein 6 місяців тому

      If likes/comments were in scope, there'd be a strong case to use a relational database, right?

  • @madhanravi4365
    @madhanravi4365 7 місяців тому +1

    Need lot more in depth ❤

  • @pnk4-ow9yl
    @pnk4-ow9yl 2 місяці тому

    Why at the video you focussed more on the big picture like how the Frontend communicates with backend, and about data bases, CDN, Load balancers and so on? I supposed this is more about the backend system interviews?
    Comparing your other video "Frontend System Design Interview (Build Google Search)" with this one, it messes my mind a little bit about what is "Frontend System Design".

  • @jasmineellis4783
    @jasmineellis4783 5 місяців тому

    There's no reason why pagination or interactivity make this a bad candidate for SSR. All this can be achieved with server actions. Pre-rendering is just one performance benefit you get from SSR.

    • @therealseniordev
      @therealseniordev  5 місяців тому

      pagination and interactivity increase complexity, SSR is already complex by itself. Pre-rendering is a performance and SEO benefit, but it comes at a cost, that is, more complexity.

    • @jasmineellis4783
      @jasmineellis4783 5 місяців тому +1

      @@therealseniordev As I said, prerendering is just one performance benefit. Security is another aspect. I think it comes to seem less complicated once developers acclimatize to it.

  • @therealseniordev
    @therealseniordev  7 місяців тому

    🔍 Find your technical gaps with this Free Technical Assessment: www.theseniordev.com/free-technical-assessment