Hello --

I've searched for this on the mailing list but I haven't found an
answer, hope someone can help!

I have a setup like

5 machines (m1,..,m5)
2 services (s1, s2)

Each machine has one or both of the services, each instance of each
service is identical.  I want to present each service as a single
entity, but I'd also like to limit the maximum number of connections
to the machines.  The obvious way to do it would be to set up two
backends in the configuration, one which points to all the machines
which have s1, the other to the machines with s2.  But there will be
some overlap in the machines, so the machines might get overloaded
with connections (if I keep the maxconn parameter the same in each
backend) or else be underutilized (if i split the connections between
the backends, and only one service is being requested.)

For concreteness suppose my setup is

m1, m2, m3 have s1
m2, m3, m4, m5 have s2
(so m2,m3 have both services.)

Is it possible to have server (with maxconn) shared between backends?
Or is there another way to accomplish my goal?

Best regards, Ben

Reply via email to