how to setup and simulate a load balancer app in nodejs in 10 mins

preview_player
Показать описание
using node js create and simulate a simple load balancer app
also learn how to proxy request to an upstream server
in 10 min
to understand deeply how load balancing works in action

00:00 Intro
00:53 Project setup
01:10 Load Balancer Logic implementation
04:29 Running two apps in docker as upstream servers
06:29 Testing out the upstream servers
07:12 Start node project and create the load balancer
07:25 Implement custom logic as a middleware
07:37 Test the result of the load balancer in action
09:35 Outro

USEFUL********

#nodejs
#loadbalancer
#proxy
#docker
#nginx
#loadbalance
#proxypass
#image
#container
#upstream
#server
#dockerfile
#dockerCompose
#environment
#config

LINKS********
Рекомендации по теме
Комментарии
Автор

Please do this as often as possible, loved the format 👍

gmkhussain
Автор

that wrong .add condition on catch, cause infinity call axios when request response >= 400 .

djamaatul
Автор

How to balance the load on edge server.. i mean what is the difference between load balancing on cloud server and load balancing on edge server

aartisharma
Автор

Good tutorial. The repo is not working. Kindly drop the correct one

josephuzuegbu
welcome to shbcf.ru