Load Balancing with NGINX

  Рет қаралды 62,804

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

Пікірлер: 43
@997Pancakes
@997Pancakes 8 күн бұрын
Jay is the man! Thank you.
@shivkarj1456
@shivkarj1456 2 жыл бұрын
This was a great explanation!
@Oxygen.O2
@Oxygen.O2 2 жыл бұрын
Amazing explanation!
@jishnuanchery
@jishnuanchery 2 жыл бұрын
Thank you. great demo.
@ahosanhabib9399
@ahosanhabib9399 Жыл бұрын
Thanks for the helpful session.
@HiteshRiziya
@HiteshRiziya 3 жыл бұрын
Great to see nice demo explanation. 👍
@nginx_official
@nginx_official 3 жыл бұрын
Glad you liked it!
@evgenykuznetsov7490
@evgenykuznetsov7490 2 жыл бұрын
this very good catch, thank you Sir!
@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?
@farhadzada3162
@farhadzada3162 6 ай бұрын
My gosh it was a great explanation !
@dangaines405
@dangaines405 Жыл бұрын
Good work Jay!
@guillemurto3936
@guillemurto3936 2 ай бұрын
thanks for this training, it was very good
@calanside15
@calanside15 Жыл бұрын
thank you , amazing content
@jay15183
@jay15183 3 жыл бұрын
Links: NGINX Configuration Context: kzfaq.info/get/bejne/eZubgMqkzbTHZps.html NGINX Reverse Proxy: kzfaq.info/get/bejne/osCGdKxktdfLeJc.html
@aseemkumarthawait2257
@aseemkumarthawait2257 Жыл бұрын
It's a very nice presentation..
@ealvinoq
@ealvinoq Жыл бұрын
Great video
@danielkrajnik3817
@danielkrajnik3817 10 ай бұрын
very useful, thanks
@cambodialifestyle7641
@cambodialifestyle7641 4 ай бұрын
thank for teaching
@NewHOD
@NewHOD 2 жыл бұрын
Workload I need load-balanced is VOIP streamed via UDP. Can NGINX Open Source forward UDP or it needs to be Plus?
@NamLe-fl4sz
@NamLe-fl4sz 8 ай бұрын
From VietNam. Thanks
@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 ??
@mohamedyoussef8835
@mohamedyoussef8835 Жыл бұрын
Awesome video ++++++++++++ 🙂
@AliCondor
@AliCondor 2 жыл бұрын
Think you
@redosem9868
@redosem9868 2 жыл бұрын
please note that sticky session is not free, it come with nginx plus
@sabinshrestha267
@sabinshrestha267 Ай бұрын
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?
@jsaenzMusic
@jsaenzMusic 11 ай бұрын
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 11 ай бұрын
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
@jamestrowbridge
@jamestrowbridge Жыл бұрын
Love the explanation, hate the indentations.
@Hellmiauz
@Hellmiauz 2 жыл бұрын
This LB isn't DSR (Direct server return) or is it? 🤨 And can nginx do such LB?
@kamaludinnoviyanto7090
@kamaludinnoviyanto7090 2 жыл бұрын
Izin belajar pak
@kobebyrant9483
@kobebyrant9483 3 ай бұрын
These three web servers still share one physical server right?
@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 3 ай бұрын
I cant see,increase font size on no.20
@nhuongtrieuhoang6611
@nhuongtrieuhoang6611 11 ай бұрын
HA for nginx ? How to do that .
@flexairz
@flexairz 3 жыл бұрын
Epic explanation.. made it very easy. Thanks! Could you add the links you mentioned in the video?
@jay15183
@jay15183 3 жыл бұрын
Thanks Felix. The links are included in the "GitHub Repo" like included with the comments. github.com/jay-nginx/load-balancing
@mahiramaharsy1038
@mahiramaharsy1038 3 жыл бұрын
9oo
@mahiramaharsy1038
@mahiramaharsy1038 3 жыл бұрын
9op
@jaymonserrat5982
@jaymonserrat5982 Жыл бұрын
Why wouldn’t you demo this with SSL?
@zerocoll20
@zerocoll20 10 ай бұрын
Oww so the correct way to call it is engine X. I was mistaken my whole life.
@star.x
@star.x 3 жыл бұрын
please i need to contact you
NGINX as an API Gateway
25:47
NGINX
Рет қаралды 39 М.
Load balancing in Layer 4 vs Layer 7 with HAPROXY Examples
37:33
Hussein Nasser
Рет қаралды 160 М.
I'm Excited To see If Kelly Can Meet This Challenge!
00:16
Mini Katana
Рет қаралды 29 МЛН
小宇宙竟然尿裤子!#小丑#家庭#搞笑
00:26
家庭搞笑日记
Рет қаралды 14 МЛН
Балансировка нагрузки NGINX. От простого к сложному.
8:41
Мир IT с Антоном Павленко
Рет қаралды 20 М.
What is a Load Balancer?
8:22
IBM Technology
Рет қаралды 228 М.
Load balancing with Nginx - Tomcat - Mithun Technologies - +91 99809 23226
40:54
Mithun Technologies DevOps
Рет қаралды 11 М.
Flask Load Balancing Using Nginx and Docker
18:39
DevGuyAhnaf
Рет қаралды 33 М.
The NGINX Crash Course
50:53
Laith Academy
Рет қаралды 480 М.
Proxy vs Reverse Proxy (Real-world Examples)
5:17
ByteByteGo
Рет қаралды 534 М.
Bluetooth connected successfully 💯💯
0:16
Blue ice Comedy
Рет қаралды 1,5 МЛН
Ba Travel Smart Phone Charger
0:42
Tech Official
Рет қаралды 1,2 МЛН
ноутбуки от 7.900 в тг laptopshoptop
0:14
Ноутбуковая лавка
Рет қаралды 3,5 МЛН
Samsung laughing on iPhone #techbyakram
0:12
Tech by Akram
Рет қаралды 7 МЛН