Magically autoconfigured HTTP load balancer written in Go.
wizbal takes the Host header, strips the suffix given by -host and
appends the suffix given by -domain. It asks DNS for SRV records
with that resulting name and uses the returns host/port pairs as
backend pool for load balancing.
This is just a proof of concept with a simple health check and
on-demand (but cached) dns resolution, put together in a few hours
as a Hacker Time
project. Thanks to Grégoire for
suggesting the name.
Usage
Expose your backends as SRV records under some domain: srv.example.com
Setup a wildcard DNS entry for serving client requests, pointing to wizbal: app.example.com
Fire up wizbal: ./wizbal -domain=srv.example.com -host=app.example.com