HTTP Load Balancer
Specifications
- http servers should always return time taken to proceed request in headers as EXECUTION_TIME in ms
- this load balancer choose where to balance regarding of the response time. > ResponseTime, < chances to receive requests
Getting started
- read specifications. ( ͡° ͜ʖ ͡°)
- create a file at in root folder of load balance, <file_name>
- add every address the load balance need to access, one row for one server, with http:// format
- Start load balancer!
// in terminal, at the root of load balancer, type =>
go build
then
./http-load-balancer -f <file_name> -p <load_balancer_port>
And your good to go! (ノ^∇^)
Todo
Topic | More |
---|---|
add TLS support | X |
possibility to make comments in conf file | identify servers in conf file faster |
add testing | X |
benchmark | X |