<p>Hi <a href="https://github.com/shripchenko" class="user-mention">@shripchenko</a> , sorry for the delay.<br>
For 1) - right now we have only a function load_balance() that is used to start and continue the LB process. We want to have in the future the possibility to start, continue and re-start the LB process. To aligned it with the rest of the modules (drouting, dispatcher), I would go for  : load_balance() to start and restart and a new function to continue (like next_lb() ?). In this case we need to store in some AVPs the original group and resources to be used by next_lb() and to be reset by load_balance() (if called again).</p>

<p>For 4) maybe we need some flags (to replace the alg param in load_balance() with some generic flags) and have:</p>

<ul class="task-list">
<li>'a' - do absolute versus relative estimation</li>
<li>'n' - do not skip negative loads.</li>
</ul>

<p>What do you think? I can work on some coding.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">&mdash;<br>Reply to this email directly or <a href="https://github.com/OpenSIPS/opensips/pull/345#issuecomment-61604305">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AFOciQnnV7w0grqFko2ciYU4RSMaevUPks5nKHx1gaJpZM4CpiN1.gif" width="1" /></p>
<script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","description":"View this Pull Request on GitHub","action":{"@type":"ViewAction","url":"https://github.com/OpenSIPS/opensips/pull/345#issuecomment-61604305","name":"View Pull Request"}}</script>