Load Balancing with NGINX

Sdílet
Vložit
  • čas přidán 27. 07. 2024
  • Load balancing is one of the most widely deployed use case for NGINX Instance Manager - it is easy to configure and provides multiple load balancing algorithms to choose from to ensure smooth flow of network traffic between clients and upstream servers.
    In this basic how-to video, we cover:
    ◆ High level understanding of load balancing works
    ◆ Upstream directive
    ◆ Available load balancing methods
    NGINX Load Balancing GitHub
    ⬡ github.com/jay-nginx/load-bal...
    How to Get Started With NGINX
    ⬡ bit.ly/3MeGufw
    Introducing NGINX Instance Manager
    ⬡ bit.ly/2QCLMch
    Chapters:
    0:00 - Load Balancing with NGINX Session Agenda
    0:43 - Multitude of Use Cases
    6:18 - Load Balancing Methods
    12:01 - Enabling Session Persistence with NGINX
    13:53 - Things to Note When Load Balancing with NGINX
    14:50 - Live Demo
  • Věda a technologie

Komentáře • 42

  • @shivkarj1456
    @shivkarj1456 Před 2 lety +3

    This was a great explanation!

  • @Oxygen.O2
    @Oxygen.O2 Před 2 lety +4

    Amazing explanation!

  • @HiteshRiziya
    @HiteshRiziya Před 3 lety +7

    Great to see nice demo explanation. 👍

  • @jishnuanchery
    @jishnuanchery Před 2 lety +1

    Thank you. great demo.

  • @ahosanhabib9399
    @ahosanhabib9399 Před rokem

    Thanks for the helpful session.

  • @evgenykuznetsov7490
    @evgenykuznetsov7490 Před 2 lety

    this very good catch, thank you Sir!

  • @farhadzada3162
    @farhadzada3162 Před 6 měsíci

    My gosh it was a great explanation !

  • @dangaines405
    @dangaines405 Před rokem

    Good work Jay!

  • @jay15183
    @jay15183 Před 3 lety +6

    Links:
    NGINX Configuration Context: czcams.com/video/C5kMgshNc6g/video.html
    NGINX Reverse Proxy: czcams.com/video/lZVAI3PqgHc/video.html

  • @calanside15
    @calanside15 Před rokem

    thank you , amazing content

  • @guillemurto3936
    @guillemurto3936 Před 2 měsíci

    thanks for this training, it was very good

  • @aseemkumarthawait2257

    It's a very nice presentation..

  • @ealvinoq
    @ealvinoq Před rokem

    Great video

  • @rijosimon8822
    @rijosimon8822 Před 2 lety +2

    Im using Nginx for loadbalancing my 4 server setup for a custom application. The application has a media share option that if disabled the forward option does not allow people from other networks to see it. It uses the IP of the user for this. The problem is if i use load balancing all the hits to my web server are coming from the load balancers IP. So even if a user from external network tries to access the media after disabling that option, he is able to access the media because server is getting the IP of Nginx setup. Is there any feature to overcome this issue?

  • @danielkrajnik3817
    @danielkrajnik3817 Před 9 měsíci

    very useful, thanks

  • @NamLe-fl4sz
    @NamLe-fl4sz Před 7 měsíci

    From VietNam. Thanks

  • @cambodialifestyle7641
    @cambodialifestyle7641 Před 4 měsíci

    thank for teaching

  • @mohamedyoussef8835
    @mohamedyoussef8835 Před rokem

    Awesome video ++++++++++++ 🙂

  • @AliCondor
    @AliCondor Před 2 lety

    Think you

  • @NewHOD
    @NewHOD Před 2 lety

    Workload I need load-balanced is VOIP streamed via UDP. Can NGINX Open Source forward UDP or it needs to be Plus?

  • @jamestrowbridge
    @jamestrowbridge Před rokem

    Love the explanation, hate the indentations.

  • @redosem9868
    @redosem9868 Před 2 lety +1

    please note that sticky session is not free, it come with nginx plus

  • @blissweb
    @blissweb Před 2 lety +1

    Is there any way to make the load balancer not be the single point of failure ?? If it goes down, all the healthy machines and services become useless right ??

  • @kamaludinnoviyanto7090

    Izin belajar pak

  • @jsaenzMusic
    @jsaenzMusic Před 11 měsíci +1

    Thank you for the video. In studying the Nginx Cook-Book and trying to further understand the "hash directive" from this video, it's not 100% clear how it works. Do I create a hash of the specific data I want to match and if it's "anywhere" in the request, then it goes to a specific server? Or do I have to create a hash of the entire "request" I'm looking to match? Any help in this area is greatly appreciated. 🙏

    • @jsaenzMusic
      @jsaenzMusic Před 11 měsíci

      I think, I understand it a little bit better (after digesting content from different sources on this subject). I don't create the hash, I simply provide the data that "may" be in a specific request I'm trying to match and want forwarded to a specific server. Nginx does the hashing of every request using the data I provided and if a request matches that hash, then the request goes to the server that request session originated from? I presume, it requires the administrator to be familiar with the structure of the requests he/she is trying to match against, in addition to what kind of data might be in those requests, to use the "generic hash" directive effectively. Anyway, thanks youtube comment section for being my rubber ducky! :P

  • @sabinshrestha267
    @sabinshrestha267 Před měsícem

    all ports 9001 ,9002 and 9003 pointing to different project path, my question, can we point to same project folder path? does pointing to same folder path cause performance degradation?

  • @flexairz
    @flexairz Před 3 lety +2

    Epic explanation.. made it very easy.
    Thanks!
    Could you add the links you mentioned in the video?

  • @Hellmiauz
    @Hellmiauz Před 2 lety

    This LB isn't DSR (Direct server return) or is it? 🤨
    And can nginx do such LB?

  • @Eleazar.Chavira
    @Eleazar.Chavira Před 2 lety

    is there a way to install a web GUI to administer the load balancer?

    • @JayWall
      @JayWall Před 2 lety

      15:48 You need to pay for that.

  • @kobebyrant9483
    @kobebyrant9483 Před 3 měsíci

    These three web servers still share one physical server right?

  • @prezlamen
    @prezlamen Před 2 měsíci

    I cant see,increase font size on no.20

  • @zerocoll20
    @zerocoll20 Před 9 měsíci

    Oww so the correct way to call it is engine X. I was mistaken my whole life.

  • @nhuongtrieuhoang6611
    @nhuongtrieuhoang6611 Před 11 měsíci

    HA for nginx ? How to do that .

  • @jaymonserrat5982
    @jaymonserrat5982 Před rokem +1

    Why wouldn’t you demo this with SSL?

  • @star.x
    @star.x Před 3 lety +2

    please i need to contact you