Load balancer live demo using HAProxy, Spring Boot & Jmeter | System Design | Interview Preparation

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

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

  • @anomaly2104
    @anomaly2104  4 года назад

    Link to code used here: github.com/anomaly2104/loadbalancing-demo
    Please watch it completely so that you get the complete solution of the problem. I discussed many things like my approach, limitations, further enhancements, design choices, etc.
    Also, please do subscribe my channel here: ruclips.net/user/UditAgarwal21

  • @rajugaurav5052
    @rajugaurav5052 4 года назад +1

    Thank you so much Udit 👍😅, for helping us out 👏

  • @abhireddy8164
    @abhireddy8164 4 года назад +1

    Very good video sir..and it is very useful to understand the concepts and extend it to other problems too.and also please do the videos on Design pattern and multithreading.

  • @parmarav1
    @parmarav1 4 года назад +2

    Great demo Udit to explain Load Balancer. If you could create content on Circuit Breaker, Multithreading concepts, Design Patterns that you use generally in Java, that will also be much helpful.

    • @anomaly2104
      @anomaly2104  4 года назад +1

      Thanks Anshul,
      Sure, I will definitely try to create videos on these topics.

    • @kunal4350
      @kunal4350 4 года назад

      @@anomaly2104 Yes please create video on design pattern at least.

  • @a-gamephile5613
    @a-gamephile5613 4 года назад +1

    Great video thanks!!

  • @shubhambansal5487
    @shubhambansal5487 4 года назад +2

    It would be great and easy to simulate if you could share your code with us

    • @anomaly2104
      @anomaly2104  4 года назад

      Hi Shubham,
      Yeah good point. Here you go: github.com/anomaly2104/loadbalancing-demo

  • @abhireddy8164
    @abhireddy8164 4 года назад

    sir procs=`ps aux | grep "loadbalancing" | awk '{print $2}' .....please tell me the interpretation of this command sir when stopping all servers..awk command used to print 2 column there ,grep known for regular expression,ps for process id may i know in which file awk is printing the 2 column sir.

    • @anomaly2104
      @anomaly2104  4 года назад +1

      This whole command is actually getting the process id for my process which I have to stop.

  • @sarthakagarwal221
    @sarthakagarwal221 3 года назад

    Hi Udit,
    I'm trying to mimic the same thing.
    I have set the max thread count to 1 and also added one sleep in my endpoint.
    When I run even with 1000 threads using jmeter for this endpoint it never throws any error.
    Is there anything I'm doing wrong ?

    • @anomaly2104
      @anomaly2104  3 года назад +1

      Have you put time out in jmeter?

    • @sarthakagarwal221
      @sarthakagarwal221 3 года назад

      @@anomaly2104 ok I'll put one
      Thanks for the quick reply 😊

  • @kunal4350
    @kunal4350 4 года назад

    Can you add jmeter script also to simulate on our side?

    • @anomaly2104
      @anomaly2104  4 года назад

      Thats already there. You can find it here: github.com/anomaly2104/loadbalancing-demo/blob/master/loadbalancing-demo.jmx
      Just import it in jmeter and play with it.

  • @elakiouizouhaire9432
    @elakiouizouhaire9432 3 года назад

    How I would install HAproxy on windows ?

    • @anomaly2104
      @anomaly2104  3 года назад

      I installed it on an ubuntu VM.