Load Balancing with NGINX

  Рет қаралды 60,173

NGINX

NGINX

Күн бұрын

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

Пікірлер: 41
@shivkarj1456
@shivkarj1456 2 жыл бұрын
This was a great explanation!
@Oxygen.O2
@Oxygen.O2 2 жыл бұрын
Amazing explanation!
@HiteshRiziya
@HiteshRiziya 2 жыл бұрын
Great to see nice demo explanation. 👍
@nginx_official
@nginx_official 2 жыл бұрын
Glad you liked it!
@jishnuanchery
@jishnuanchery 2 жыл бұрын
Thank you. great demo.
@ahosanhabib9399
@ahosanhabib9399 Жыл бұрын
Thanks for the helpful session.
@evgenykuznetsov7490
@evgenykuznetsov7490 Жыл бұрын
this very good catch, thank you Sir!
@farhadzada3162
@farhadzada3162 4 ай бұрын
My gosh it was a great explanation !
@guillemurto3936
@guillemurto3936 15 күн бұрын
thanks for this training, it was very good
@rijosimon8822
@rijosimon8822 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?
@calanside15
@calanside15 Жыл бұрын
thank you , amazing content
@aseemkumarthawait2257
@aseemkumarthawait2257 Жыл бұрын
It's a very nice presentation..
@dangaines405
@dangaines405 10 ай бұрын
Good work Jay!
@NamLe-fl4sz
@NamLe-fl4sz 6 ай бұрын
From VietNam. Thanks
@NewHOD
@NewHOD Жыл бұрын
Workload I need load-balanced is VOIP streamed via UDP. Can NGINX Open Source forward UDP or it needs to be Plus?
@danielkrajnik3817
@danielkrajnik3817 8 ай бұрын
very useful, thanks
@cambodialifestyle7641
@cambodialifestyle7641 2 ай бұрын
thank for teaching
@jay15183
@jay15183 2 жыл бұрын
Links: NGINX Configuration Context: kzbin.info/www/bejne/eWbOfpqpnbOWbMk NGINX Reverse Proxy: kzbin.info/www/bejne/oou5cnxphdaafsU
@ealvinoq
@ealvinoq Жыл бұрын
Great video
@redosem9868
@redosem9868 2 жыл бұрын
please note that sticky session is not free, it come with nginx plus
@blissweb
@blissweb 2 жыл бұрын
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 ??
@jsaenzMusic
@jsaenzMusic 9 ай бұрын
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 9 ай бұрын
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
@AliCondor
@AliCondor 2 жыл бұрын
Think you
@kobebyrant9483
@kobebyrant9483 Ай бұрын
These three web servers still share one physical server right?
@mohamedyoussef8835
@mohamedyoussef8835 Жыл бұрын
Awesome video ++++++++++++ 🙂
@Hellmiauz
@Hellmiauz 2 жыл бұрын
This LB isn't DSR (Direct server return) or is it? 🤨 And can nginx do such LB?
@jamestrowbridge
@jamestrowbridge Жыл бұрын
Love the explanation, hate the indentations.
@kamaludinnoviyanto7090
@kamaludinnoviyanto7090 2 жыл бұрын
Izin belajar pak
@Eleazar.Chavira
@Eleazar.Chavira 2 жыл бұрын
is there a way to install a web GUI to administer the load balancer?
@JayWall
@JayWall 2 жыл бұрын
15:48 You need to pay for that.
@prezlamen
@prezlamen Ай бұрын
I cant see,increase font size on no.20
@nhuongtrieuhoang6611
@nhuongtrieuhoang6611 9 ай бұрын
HA for nginx ? How to do that .
@flexairz
@flexairz 2 жыл бұрын
Epic explanation.. made it very easy. Thanks! Could you add the links you mentioned in the video?
@jay15183
@jay15183 2 жыл бұрын
Thanks Felix. The links are included in the "GitHub Repo" like included with the comments. github.com/jay-nginx/load-balancing
@mahiramaharsy1038
@mahiramaharsy1038 2 жыл бұрын
9oo
@mahiramaharsy1038
@mahiramaharsy1038 2 жыл бұрын
9op
@jaymonserrat5982
@jaymonserrat5982 Жыл бұрын
Why wouldn’t you demo this with SSL?
@zerocoll20
@zerocoll20 8 ай бұрын
Oww so the correct way to call it is engine X. I was mistaken my whole life.
@star.x
@star.x 2 жыл бұрын
please i need to contact you
NGINX as an API Gateway
25:47
NGINX
Рет қаралды 38 М.
Configure NGINX as a Reverse Proxy
16:43
NGINX
Рет қаралды 200 М.
100😭🎉 #thankyou
00:28
はじめしゃちょー(hajime)
Рет қаралды 56 МЛН
狼来了的故事你们听过吗?#天使 #小丑 #超人不会飞
00:42
超人不会飞
Рет қаралды 65 МЛН
WHY DOES SHE HAVE A REWARD? #youtubecreatorawards
00:41
Levsob
Рет қаралды 41 МЛН
Load balancing in Layer 4 vs Layer 7 with HAPROXY Examples
37:33
Hussein Nasser
Рет қаралды 157 М.
Балансировка нагрузки NGINX. От простого к сложному.
8:41
Мир IT с Антоном Павленко
Рет қаралды 19 М.
Learn Proper NGINX Configuration Context Logic
12:56
NGINX
Рет қаралды 43 М.
Flask Load Balancing Using Nginx and Docker
18:39
DevGuyAhnaf
Рет қаралды 31 М.
API Gateway vs Load Balancer vs Reverse Proxy: when to use what?
9:06
Software Developer Diaries
Рет қаралды 6 М.
Scaling your Node.js app using the "cluster" module
13:44
Software Developer Diaries
Рет қаралды 33 М.
The NGINX Crash Course
50:53
Laith Academy
Рет қаралды 472 М.
What is a Load Balancer?
8:22
IBM Technology
Рет қаралды 217 М.
ЭТОТ ЗАБЫТЫЙ ФЛАГМАН СИЛЬНО ПОДЕШЕВЕЛ! Стоит купить...
12:54
Thebox - о технике и гаджетах
Рет қаралды 151 М.
Карточка Зарядка 📱 ( @ArshSoni )
0:23
EpicShortsRussia
Рет қаралды 612 М.
Will the battery emit smoke if it rotates rapidly?
0:11
Meaningful Cartoons 183
Рет қаралды 4,5 МЛН