Skip to content

OliCallaghan/Dynamic-Load-Balancing

Repository files navigation

Dynamic Load Balancing

To see this code in action, you must do the following. This builds the node which we will be scaling and load balancing.

cd dynamic_node

npm i

docker build -t dynamic_node .

Then we must build and start the management interface and load balancer.

cd ..

npm i

docker-compose up --build

The management interface then runs on localhost:3000, whereas the load balanced application runs on localhost:8080.

About

Dynamic load balancing with NodeJS, HAProxy and Docker.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published