<div dir="ltr"><div>I have little experience using this algorithm, I noticed looking at the dispatcher latency stats there was some timeouts, not sure about  config but I wonder it went Inactive probing at some point and came back.</div><div>It may be worth consider looking at something that could go wrong when it goes active, inactive, active in such scenario.</div><div>Or reload the dispatcher before your test to have clean stats just to be sure.<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, May 12, 2020 at 10:14 PM hbilling <<a href="mailto:notifications@github.com">notifications@github.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><p></p>
<p>Thanks Daniel,<br>
I will await your response on the issue then, regarding using the lock or atomic integers. I presume the atomic integer usage must be faster than the locking approach.<br>
FWIW, a similar locking is being used in 'dp_init_relative_weights()' and 'ds_update_latency' APIs in dispatch.c also.</p>

<p style="font-size:small;color:rgb(102,102,102)">—<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/2322#issuecomment-627750313" target="_blank">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZINCF24E6BMTEAK5HLRRIT7ZANCNFSM4M5V5VYA" target="_blank">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABO7UZI5N2VDCMDQGFZKKLTRRIT7ZA5CNFSM4M5V5VYKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEVVLLKI.gif" alt="" width="1" height="1"></p>
_______________________________________________<br>
Kamailio (SER) - Development Mailing List<br>
<a href="mailto:sr-dev@lists.kamailio.org" target="_blank">sr-dev@lists.kamailio.org</a><br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev" rel="noreferrer" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev</a><br>
</blockquote></div>