Yes, you can do so right now. The Beanstalk::Pool class takes a list
of addresses and connects to all of them. It manages the connections,
removing ones that go down and retrying them once in a while. It also
load balances requests among all open connections.
The load balancing algorithm is not very good right now (it chooses
randomly each time). I'll change it to round robin when I get time.
> The primary reasons are:
> - maintenability (how to change server?)
> - failover
> - performance
The maintainability and failover already work. Interestingly,
performance doesn't change much with multiple servers unless you are
processing more jobs than one server can handle (and that's a lot of
jobs).
kr