<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#ffffff">
    <tt>Hello Santosh,<br>
      <br>
      You cannot use 2 algorithms in the same time - like weight based
      and round robin. You need to choose the one which better fits your
      needs. Dispatcher module provides both algs (round robin in 4, all
      other hash based algs are subject to weight balancing).<br>
      <br>
      Regards,<br>
    </tt>
    <pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
    <br>
    On 11/14/2013 07:13 PM, santosh satapathy wrote:
    <blockquote
cite="mid:CA+Yp-64csnSPXZkxo7JoStu6CKf9hgiyD-PFWytNYSK7jjwYWA@mail.gmail.com"
      type="cite">
      <div dir="ltr">Thanks for input Bogdan. I would like to add weight
        dynamically to destinations based on their health (resource
        capability and not solely based on their status as Active from
        options probing) so that number of calls on each destination
        also is controlled on their resource capability and as well
        distributed in a round robin manner.
        <div>
          <br>
        </div>
        <div>Is there any provision to configure load balancer with both
          the options (weighted, round robin) etc. in the configuration
          file to achieve the scenario mentioned in before.</div>
        <div><br>
        </div>
        <div>Appreciate if you could assist me with any solution or
          similar.&nbsp;</div>
        <div><br>
        </div>
        <div>Thanks</div>
        <div>Santosh</div>
        <div class="gmail_extra"><br>
          <br>
          <div class="gmail_quote">On Thu, Nov 14, 2013 at 2:26 AM,
            Bogdan-Andrei Iancu <span dir="ltr">&lt;<a
                moz-do-not-send="true" href="mailto:bogdan@opensips.org"
                target="_blank">bogdan@opensips.org</a>&gt;</span>
            wrote:<br>
            <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
              0.8ex; border-left: 1px solid rgb(204, 204, 204);
              padding-left: 1ex;">
              <div text="#000000" bgcolor="#ffffff"> <tt>Hello Santosh,<br>
                  <br>
                  The Load Balancing module does routing only based on
                  the load of the destination (how many calls are
                  ongoing on each destination).<br>
                  <br>
                  You can look also at the dDispatcher module, where you
                  have multiple algorithm for distributing calls. See :<br>
                  &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
                  <a moz-do-not-send="true"
href="http://www.opensips.org/html/docs/modules/1.10.x/dispatcher.html#id294038"
                    target="_blank">http://www.opensips.org/html/docs/modules/1.10.x/dispatcher.html#id294038</a><br>
                  <br>
                  Regards,<br>
                </tt>
                <pre cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a moz-do-not-send="true" href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a></pre>
                <div>
                  <div class="h5"> <br>
                    On 11/12/2013 05:24 AM, santosh satapathy wrote: </div>
                </div>
                <blockquote type="cite">
                  <div>
                    <div class="h5">
                      <div dir="ltr">Hi,
                        <div><br>
                        </div>
                        <div>I am new to this mailing list and
                          evaluating various options for a good load
                          balancer. Can somebody help let me know if we
                          can choose two algorithms (Ex: weighted and
                          round robin) together for load balancing.<br
                            clear="all">
                          <div><br>
                          </div>
                        </div>
                        <div>--&nbsp;<br>
                        </div>
                        <div dir="ltr">Thanks
                          <div><br>
                            <div>Santosh</div>
                          </div>
                        </div>
                      </div>
                    </div>
                  </div>
                  <pre><fieldset></fieldset>
_______________________________________________
Users mailing list
<a moz-do-not-send="true" href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a moz-do-not-send="true" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
                </blockquote>
              </div>
            </blockquote>
          </div>
          <br>
          <br clear="all">
          <div><br>
          </div>
          -- <br>
          <div dir="ltr">Thanks
            <div><br>
              <div>Santosh</div>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
  </body>
</html>