It would probably be much more efficient to round-robin them.  Otherwise you
end up banging on one until it's buried (or at it's set limit), then banging
on the next, and so on.  What happens when they all decide their load is too
high and shut down qmqpd?  Isn't it much easier to code round-robin into it
anyway?

Would it be easier to just make it so I could put a hostname into the
qmqpservers file and do round robin dns for it?  Wouldn't that just be a
simple addition of gethostbyname()?

I have to say though, I really like the way qmail is laid out. Lots of small
programs with specific functions, it makes it very easy to do modifications.

Jay  

-----Original Message-----
From: Michael T. Babcock [mailto:[EMAIL PROTECTED]]
Sent: Saturday, July 22, 2000 3:55 PM
To: Russell Nelson
Cc: '[EMAIL PROTECTED]'
Subject: Re: qmqpc load balancing


True, but its quite valid to round-robin several servers to keep any one
from ever
getting a high load in the first place.  eg. the way load-balancing HTTP
usually
works.

Russell Nelson wrote:

> Austad, Jay writes:
>  > Instead of having qmqpc picking the first available server, I would
like it
>  > to load balance between all servers I have listed as QMQP servers.
>
> Do it the other way around.  If a server thinks its load is too high,
> it should shut down its qmqpc service.

Reply via email to