Re-read my point: its unnecessary. I didn't say it wouldn't work. I said the CPU use of doing it this way was unnecessary over a simpler round-robin approach (After picking an initial random server). Note: I think using an array of pointers to server addresses would allow you to do your rotations a lot faster. Think "point quicksort". ----- Original Message ----- From: "Austad, Jay" <[EMAIL PROTECTED]> > Even if one server is getting hit multiple times in a row, I don't think it > will matter. I put in 10 servers in my qmqpservers file and some well > placed printf's in qmqpc and ran it 100,000 times several times through. > Each server was getting picked about 10% of the time +/- 1% or so. If we're > sending millions of messages, this +/- 1% isn't going to make a significant > difference.
- RE: updated load balancing qmail-qmqpc.c mods Austad, Jay
- Re: updated load balancing qmail-qmqpc.c mods Frank D. Cringle
- Re: updated load balancing qmail-qmqpc.c mods JuanE
- Re: updated load balancing qmail-qmqpc.c mods Pavel Kankovsky
- Re: updated load balancing qmail-qmqpc.c m... Frank D. Cringle
- Re: updated load balancing qmail-qmqpc.c mods JuanE
- Re: updated load balancing qmail-qmqpc.c mods James Raftery
- Re: updated load balancing qmail-qmqpc.c mods Michael T. Babcock
- Re: updated load balancing qmail-qmqpc.c mods JuanE
- RE: updated load balancing qmail-qmqpc.c mods Austad, Jay
- RE: updated load balancing qmail-qmqpc.c mods Michael T. Babcock
- RE: updated load balancing qmail-qmqpc.c mods Austad, Jay
- Re: updated load balancing qmail-qmqpc.c mods JuanE
- Re: updated load balancing qmail-qmqpc.c mods David Dyer-Bennet
- Re: updated load balancing qmail-qmqpc.c m... JuanE
- Re: updated load balancing qmail-qmqpc... Bruno Wolff III
- Re: updated load balancing qmail-... David Dyer-Bennet
- Re: updated load balancing qmail-qmqpc.c m... Michael T. Babcock
- Re: updated load balancing qmail-qmqpc.c mods Michael T. Babcock