<p></p>
<p>I remember Daniel already answered similar questions, from what I remember, the algo will redistribute the weight to a ratio of stored in 100 slots and fill the remaining slots with the first one.</p>
<p>So there may be a slight offset.</p>
<p>What you are reporting in this issue is that the distribution it not done well when there is more than 25 hosts ?</p>
<p>I find this statement a bit confusing :<br>
"but errors were the same when dispatcher group had more than 25 and less than 25 hosts"</p>
<p>compare to :<br>
"Dispatcher group must have more than 25 hosts, if equal or less than 25 than it is Ok:"</p>
<p>If this is the case,  it seems valuable to be able to support more than 25 hosts or at least issue a warning.<br>
I will try to have a look hopefully soon, I found this algo is an interesting building block and a very good option for many scenarios.<br>
The limitations that may complicate things are sometimes introduce by code architecture that would need too much refactoring,  lets see.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/issues/2698#issuecomment-810491161">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZNQZOYPMNZA2ITY2HDTGILSZANCNFSM42B3ZDJA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABO7UZP7QW7W7C2AYJGR7T3TGILSZA5CNFSM42B3ZDJKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGBHR2GI.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/issues/2698#issuecomment-810491161",
"url": "https://github.com/kamailio/kamailio/issues/2698#issuecomment-810491161",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>