https://github.com/ahtrahdis7/load-balancer-node
This repo contains the code to use a basic load balancer with there different servers at ports 3000, 3001, 3002, 3003
https://github.com/ahtrahdis7/load-balancer-node
express http http-server javascript nodejs nodejs-server
Last synced: about 1 year ago
JSON representation
This repo contains the code to use a basic load balancer with there different servers at ports 3000, 3001, 3002, 3003
- Host: GitHub
- URL: https://github.com/ahtrahdis7/load-balancer-node
- Owner: ahtrahdis7
- Created: 2021-04-06T12:37:51.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2021-04-06T12:39:10.000Z (about 5 years ago)
- Last Synced: 2025-01-26T05:24:33.503Z (about 1 year ago)
- Topics: express, http, http-server, javascript, nodejs, nodejs-server
- Language: JavaScript
- Homepage:
- Size: 39.1 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Load Balancer using Node + Express
## How to run ?
1. Open up 3 terminal windows
2. `node server.js`
3. `node lb.js`
4. `node test.js` or `python3 test.py`
5. Adjust the parameters in the test program and observe the results/latency.