18. Load Balancer & Different Algorithms - System Design | Static & Dynamic Load Balancing Algorithm

แชร์
ฝัง
  • เผยแพร่เมื่อ 25 พ.ย. 2024

ความคิดเห็น • 47

  • @manugupta0110
    @manugupta0110 ปีที่แล้ว +1

    Disadvantage: "TCP connections can be ACTIVE but possible have no traffic" => This might not be true. Sure connections b/w clients and servers are kept alive, however in case of LB, and this specific Algorithm, the LB might not be having warmed up connections which are not serving any traffic IMO.
    Also, we can clarify that in case of L4 Load Balancers, there are two TCP connection for one request 1. Client LB, 2. LB Server. If we don't clarify this information, people might get confused in this. I really liked you LLD videos and they were super awesome, however for some reason felt in High Level Design, there are some scope of improvement.
    I hope you take this positively. Doing a good work. Keep it up :D

    • @ConceptandCoding
      @ConceptandCoding  ปีที่แล้ว

      Points noted. Yes i am taking this positively and really thanks a lot for the feedback Manu.

  • @anantakumarsahu2658
    @anantakumarsahu2658 ปีที่แล้ว +3

    Yes please upload more videos.

  • @kapiltewari4369
    @kapiltewari4369 ปีที่แล้ว +3

    Nicely Explained

  • @newbie8051
    @newbie8051 3 หลายเดือนก่อน

    Least Response Time was something new, thanks @

  • @nithishr2266
    @nithishr2266 ปีที่แล้ว +1

    Thanks sir,
    Your Playlist is really awesome, Helped a lot in understanding the System Design, I loved your Explaination ❤️

    • @ConceptandCoding
      @ConceptandCoding  ปีที่แล้ว

      Thanks buddy, pls do share it with your connections

    • @nithishr2266
      @nithishr2266 ปีที่แล้ว

      @@ConceptandCoding sure thing :)

  • @shubhamagarwal1434
    @shubhamagarwal1434 หลายเดือนก่อน

    very well explained...awsome!!!

  • @Umashankar14412
    @Umashankar14412 ปีที่แล้ว +2

    Appreciate your hard work, 🙏🏼. Ak request hai ager possible ho system design pe thoda jaldi videos dale.

    • @ConceptandCoding
      @ConceptandCoding  ปีที่แล้ว

      I will try my best buddy

    • @Umashankar14412
      @Umashankar14412 ปีที่แล้ว +1

      @@ConceptandCoding Thanks ❤️, one of best system design content.

  • @FazilKhan-vr6sw
    @FazilKhan-vr6sw ปีที่แล้ว +2

    Hi, what about consistent Hashing to distribute the traffic. .?

  • @karanbangia14
    @karanbangia14 ปีที่แล้ว +2

    can you pls explain how caching takes place at L7 load balancer and how to invalidate cache, it would be good if you can provide and example

  • @raghav_1997
    @raghav_1997 8 หลายเดือนก่อน

    Hi Shreyansh, waiting for the rest of HDL playlist.

  • @xskrish
    @xskrish ปีที่แล้ว +1

    NICE I LOVE THIS

  • @vamsikumili26
    @vamsikumili26 ปีที่แล้ว +1

    Can a load balancer be a single point of failure? If not, then what measures are taken for it not to be a single point of failure.

  • @bobbysadhwani
    @bobbysadhwani ปีที่แล้ว +1

    Very well explained Sir 🚀.... Can you please attach the ppt in the description, it will be helpful. Thank you.

  • @sahibog
    @sahibog ปีที่แล้ว +1

    Thank Sir

  • @ramprasadthakur1682
    @ramprasadthakur1682 6 หลายเดือนก่อน

    Hi Shrayansh do TTFB and latency are same things?

  • @vishalghanghav748
    @vishalghanghav748 ปีที่แล้ว +5

    Hello Shreyansh ,Maine tumhari playlist start se shuru kii thi ,aur bhot sahi jaa raha tha .Par suddenly tumne completely English pe switch kar liya .Any specific reason ,Maine specifically isliye ye channel choose kiya tha kyunki tum akele the jo System Design Hindi main sikhaare the .Aur sahi se dekhe to tabse channel ki viewership bhi decline hui hain . Just a feedback

    • @nikrajput3512
      @nikrajput3512 ปีที่แล้ว +1

      Are inko South vaale bando se msg aare the ki switch to English .Accha khasa channel mila tha Hindi main .English main dekhne ka mann nai karta na...

    • @ConceptandCoding
      @ConceptandCoding  ปีที่แล้ว +4

      thanks Vishal for your honest feedback. I really respect that🙏
      To be honest, i got a 100s of request from engineers who do not understand Hindi and wanted me to switch.
      And its was a very tough decision for me whether to switch or not and i discussed the same with one of my friend and couple of points which help me take this decision is:
      - More than Hindi or English what important is way of teaching and explaining. Whatever language i choose my way of explaining should not change.
      - Every software engineer knows basic English (as you know we have to work with different clients and team members in different city and country, so English is the common language in each IT company as far as i know)
      - My confidence and my English also improving by teaching in it.
      With all these points taken into consideration, i decided to switch to english buddy.
      And regarding viewership decline, what can i say, its also a part of the journey and its not an easy journey, i am working toward it and It will increase for sure, i am being optimistic :)

    • @vishalghanghav748
      @vishalghanghav748 ปีที่แล้ว +4

      @@ConceptandCoding Are it's Okay yaar .2months ago ,main cricbuzz ke liye interview diya ,both DSA rounds clear kiye and System design round tha (Mujhe laga LLD puchega usne HLD ke questions puche),Jo main nai bta paya .Usne puche hue saare questions ,tum cover kiye ho .Jitna basics tha vo sab tum hindi main cover kiye ho ,to baaki case studies chaltay ab English main .Par dekhna agar subtitles se manage ho paaye English Audience.Tumhaare liye bhi bada mushkil decision raha hoga😊. Mere POV main Hindi main connect jyada hotay and long hours aap beth sakte ho video dekhte hue . In the end ,Thank you so much itne acche videos banane ke liye .Meko almost 250% hike milra hain jo tumhaare(Design) aur Aditya verma(DSA) ke bina nai ho paata

    • @ConceptandCoding
      @ConceptandCoding  ปีที่แล้ว +2

      @@vishalghanghav748 congratulations 🎉👏 buddy really happy for you. Way to go 🚀

  • @kesav6285
    @kesav6285 หลายเดือนก่อน

    what about consistent hashing? Load Balancer doesn't use it?

  • @sakshamsrivastava6280
    @sakshamsrivastava6280 ปีที่แล้ว +1

    What it means here when we say active connection Shreyansh? Could you elaborate a little.

    • @ConceptandCoding
      @ConceptandCoding  ปีที่แล้ว

      Between Client and server, first thing happens is connecting making, you might have heard of 3 ways handshaking (Syn , Syn + Ack, Ack).
      That's will make one active connection.
      Hope it is clear now, let me know pls.

    • @sakshamsrivastava6280
      @sakshamsrivastava6280 ปีที่แล้ว

      @@ConceptandCodingdoes that mean, load balancer maintain some kind of table to track this active connection? If yes, initially when a request comes to loadbalancer, if interacts with who all servers, and somehow keeps track of active connections and then when a fresh request comes it sees in the table about the number of active connection and decides on where it wants to route the request to?

    • @ConceptandCoding
      @ConceptandCoding  ปีที่แล้ว +1

      Depends Saksham.
      Generally Load balancer regularly send test request to servers and collect some data and take decision based on that data.
      Also they have capability to maintain cache, in which they can save response or other information about the server which can help them to take decisions.

    • @girishanker3796
      @girishanker3796 5 หลายเดือนก่อน

      ​@@ConceptandCodingDo Load Balancers also have the two way heartbeat mechanism?

  • @VishalSingh-ly9vh
    @VishalSingh-ly9vh ปีที่แล้ว

    Hello Shreyansh, can you please explain how does consistent hashing fit into this picture?

  • @harshitagarwal2682
    @harshitagarwal2682 4 หลายเดือนก่อน

    👍👍

  • @zmxncbv95
    @zmxncbv95 8 หลายเดือนก่อน

    I didn't understood this about Least Connection - "Connection is active but no traffic", what does this mean?

    • @girishanker3796
      @girishanker3796 5 หลายเดือนก่อน

      I am not sure but Inthunk what he meant maybe is like http long polling, where the connection is kept alive till the client receives any response from the server or may be an SSE which uses Http protocol which rely on TCP.

  • @vishalghanghav748
    @vishalghanghav748 ปีที่แล้ว

    Hello Shreyansh ,Are you planning to cover Docker /Kubernetes /Cloud in near future or will it take time.

    • @ConceptandCoding
      @ConceptandCoding  ปีที่แล้ว +2

      I have this in my bucket list, but some imp other topics need to cover first

  • @ghayoorhussain8930
    @ghayoorhussain8930 ปีที่แล้ว

    Sir Should I Start with LLD or HLD Kindly help

    • @ConceptandCoding
      @ConceptandCoding  ปีที่แล้ว

      For less than 2yr of exp, LLD is imp, for more than 2Yr Both can be done in parallel

  • @sairohithareti823
    @sairohithareti823 ปีที่แล้ว

    First View :)