Nginx Mastery #09 — Load balancing | upstream block, 3 algorithms, health checks

Опубликовано: 16 Май 2026
на канале: Dargslan
2
0

🎬 LESSON 09 / 12 — Load balancing

Backends as a fleet. nginx with automatic failover. 4 building blocks:
► upstream {} block: backend pool
► 3 algorithms: round-robin, least_conn, ip_hash
► Health checks: max_fails + fail_timeout (passive)
► Weights & backup: uneven backends, emergency standby

⏱️ TIMESTAMPS
00:00 — upstream pool diagram (HEALTHY/DEGRADED/DOWN)
01:00 — round-robin, least_conn, ip_hash
02:00 — Passive health checks
04:00 — Weight + backup
06:00 — Production LB: 3 primary + 1 backup

📚 FULL COURSE PLAYLIST:
🌐 dargslan.com

#nginx #loadbalancer #upstream #devops