Skip to content
manage your http load balancer in seconds
Perl
Pull request Compare This branch is 2 commits ahead, 8 commits behind develop.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
bin
lib/HTTP
t
xt
.gitignore
.shipit
.travis.yml
Changes
MANIFEST.SKIP
Makefile.PL
README.md
carton.lock

README.md

HTTP::Balancer

Build Status

HTTP::Balancer is a abstract layer to manage your http load balancers. It stores your configurations, launches the arbitrary implementation of balancers on demand, and switches between implementations without extra effort.

INSTALLATION

You are recommanded to install HTTP::Balancer with App::cpanminus

# cpanm HTTP::Balancer

Usage

Before everything, you must initialize HTTP::Balancer.

# http-balancer init

Add your virtual hosts and backends

# http-balancer add host www --fullname www.example.com

# http-balancer add backend web1 --address 192.168.1.1 --host www

List your hosts and backends

# http-balancer list host

# http-balancer list backend

Delete host and its backends

# http-balancer del host www

Or only delete a backend

# http-balancer del backend web1

Fire the balancer up

# http-balancer start

Get its status

# http-balancer status

Stop the balancer

# http-balancer stop

Every command can show its usage text with --help options

Authors

shelling navyblueshellingford@gmail.com

License

MIT X11 License

Something went wrong with that request. Please try again.