Skip to content

ABHINAV-SUREKA/tcplb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple TCP Load Balancer

Technologies used:

  1. HAProxy
  2. Node.JS application servers

Commands to run

port=4444 nodemon appserver.js
port=5555 nodemon appserver.js
haproxy -f tcp.cfg

Hit localhost:8080 on browser

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

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published