nginx load balancer in docker environment in less than 15 mins 2023

preview_player
Показать описание
Load balancing across multiple application instances is a commonly used technique for optimizing resource utilization, maximizing throughput, reducing latency, and ensuring fault‑tolerant configurations

put load balancing rules among upstream servers
all as a docker container using a docker compose file

00:00 Intro
00:52 Total overview of how load balancers work
02:34 Round robin load balancing method in nginx docker container
03:25 Docker compose file to start upstream servers plus nginx load balancer
04:32 Nginx configuration file for loadbalancing upstream servers
06:38 Start the nginx load balancer and upstream servers
07:53 Test how load balancing works in nginx default config
09:24 Other methods of load balancing in nginx open source
11:46 Upstream server weights in nginx loadbalancer
13:21 Backup server configuration for nginx loadbalancer
14:47 Outro

#docker
#nginx
#loadbalancer
#load
#balance
#security
#optimization
#fault
#tolerance
#http
#container
#dockercompose
#server
#explanation
#web
#api
#gateway
#linux
#devops
#automation

USEFUL********

PLAYLISTS*******

let's talk a bit :-*
LINKS********
Рекомендации по теме
Комментарии
Автор

After the first half of the video I was waiting for a part on how to gracefully recreate these containers one by one with an updated image without interrupting the service. It's the essential part of the supposed arch. Great tutorial though. Thank you!

axlne
Автор

@mediumguy6 wonderful, very detailed and with clear examples! ONE REQUEST, can you make video on deployment of streamlit application for large user base ? Here we need to deploy the application in a container and put that behind a load balancer to scale the number of containers up or down based on usage/connections on load balancer.

rsjenwar
Автор

i need angular two project nginx load balacing (dev and prod best practice)

emrahcan