Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple HTTP Load Balancer

Technologies used:

  1. HAProxy
  2. Node.JS application servers

Commands to run

port=4444 nodemon appserver.js
port=5555 nodemon appserver.js
port=6666 nodemon appserver.js
port=7777 nodemon appserver.js
port=8888 nodemon appserver.js
haproxy -f http.cfg

Hit localhost:8080 on browser

(Add as many ports to http.cfg as desired to create more app servers to be load balanced.)

That's all it takes to create a Layer 7 Load Balancer!

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages