Skip to content

CosmicSaaurabh/BYO-Load-Balancer

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BYO-Load-Balancer

(Bring Your Own) Load Balancer

Blog

Read the blog post about this application here

Developing

  • To initialize or clean the build directory
./scripts/clean.sh
  • To make a clean build and run the application with the config file
./scripts/run.sh

Testing

3 types of test servers are present in the tests/ directory

  • local: Run multiple instances of a basic ExpressJS server locally
    • Install the dependencies with npm i first then run them with npm start
  • echo: Run multiple instances of the Echo-Server
    • Run the setup.sh file to clone the repository
    • Run the npm start command to start the servers
  • docker: Run the same echo server but in docker along with the load balancer

Modify the byolb.config file to point to the correct host and ports. Run the server:

CONFIG_FILE=/path/to/byolb.config ./build/src/lb

About

(Bring Your Own) Load Balancer

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 94.7%
  • CMake 1.7%
  • JavaScript 1.4%
  • Shell 1.2%
  • Dockerfile 1.0%