Bluehost.com Web Hosting $6.95

Re: [courier-users] MX randomizing: trying to understand thesources.

This is a discussion on Re: [courier-users] MX randomizing: trying to understand thesources. within the Courier-Imap forums, part of the Mail Servers and Related category; Rodrigo Severo wrote: >> > I've checked bind9's documentation, it's random-cyclic as they call it, &...


Go Back   Usenet Forums > Mail Servers and Related > Courier-Imap

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-24-2005
Gordon Messmer
 
Posts: n/a
Default Re: [courier-users] MX randomizing: trying to understand thesources.

Rodrigo Severo wrote:
>>

> I've checked bind9's documentation, it's random-cyclic as they call it,
> i.e., they just randomly choose the new first member of the list and
> then recreate the list in the same order from this point.
>
> As far as I can understand this would result in much less than
> reasonable load balancing for MX records.


Why do you believe that to be the case?

To use the example you provided later:

> Let's see this example:
>
> 10 brsmtp02.br.abnamro.com
> 10 brsmtp04.br.abnamro.com
> 15 naxpf001.abnamro.com
> 15 naxpf002.abnamro.com
> 15 naxpf003.abnamro.com
> 15 naxpf011.abnamro.com
> 15 naxpf012.abnamro.com
> 15 naxpf013.abnamro.com
> 30 plum03ap.abnamro.com
> 30 walnut001ap.abnamro.com
>
> In this case brsmtp02.br.abnamro.com has 9 out of 10 chances of being
> contacted and brsmtp04.br.abnamro.com have the remaining 1 out of 10
> chances. If we are using bind as DNS cache.


That shouldn't be the case at all. The priority 15 hosts probably
illustrate bind 9's strategy best. If bind 9 is choosing a random first
entry, then it should choose naxpf001 about 16% of the time. It will be
followed by naxpf002, etc, to the end of the list. On subsequent
queries, each host will be as likely as any other to be the first item
in the list, so naxpf001 might be selected. It would be followed by
naxpf012, etc, through naxpf003.

This is a totally reasonable randomness strategy. It provides suitable
randomness for simple round-robin host selection, and should never give
90% priority to anything. Its implementation is highly performant, and
very simple, which are respectable design decisions.


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/.../courier-users
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 05:13 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0