Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
17 lines (8 sloc) 235 Bytes
A simple load balancer in node.js
Start testservers in seperate shells:
node testserver.js 8200
node testserver.js 8300
Start load balancer:
node balancer.js
Request to balancer:
curl http://127.0.0.1:8888
Something went wrong with that request. Please try again.