Thanks a lot Bogdan.<br><br>My another question, will 1 sec time interval in RATELIMIT lead to
performance issue?<br><br>Regards<br>Rajib<br><br><div class="gmail_quote">On Sun, Aug 1, 2010 at 11:34 PM, Bogdan-Andrei Iancu <span dir="ltr"><<a href="mailto:bogdan@voice-system.ro">bogdan@voice-system.ro</a>></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;">Hi Rajib,<br>
<br>
the load of each trunk is calculated each time the "load_balance()"<br>
function is called -> the load is a higly dynamic info and needs to be<br>
evaluated each time load balancing needs to be done. There is no way to<br>
cache/store any info related to previous less loaded trunk.<br>
<br>
Anyhow 100+ trunks does not mean a lot ;)<br>
<div class="im"><br>
Regards,<br>
Bogdan<br>
<br>
Rajib Deka wrote:<br>
</div><div class="im">> Thanks Bogdan.<br>
> I know that OpenSIPS will store the state info in memory. My question<br>
> is, Suppose I have 100 trunks as destination in memory to load balance<br>
> with different state info, so when a new call (INVITE) comes to<br>
> OpenSIPS, will OpenSIPS go through all the 100 trunk's state info to<br>
> choose the least loaded one or it has some efficient search algo that<br>
> returns the less loaded trunk. We are using 100+ trunk (duplicate<br>
> entry) info to achieve some CPS limit. So our main concern is the<br>
> search time for OpenSIPS to choose a trunk.<br>
><br>
> My another question, will 1 sec time interval in RATELIMIT lead to<br>
> performance issue?<br>
><br>
> regards<br>
> Rajib<br>
><br>
> On Sun, Aug 1, 2010 at 8:46 PM, Bogdan-Andrei Iancu<br>
</div><div class="im">> <<a href="mailto:bogdan@voice-system.ro">bogdan@voice-system.ro</a> <mailto:<a href="mailto:bogdan@voice-system.ro">bogdan@voice-system.ro</a>>> wrote:<br>
><br>
> Hi Rajib,<br>
><br>
> The state info kept by load balancer (the load and capacity of each<br>
> destination) is memory only - there are no DB ops at runtime.<br>
><br>
> Regards,<br>
> Bogdan<br>
><br>
> Rajib Deka wrote:<br>
> > Hi All,<br>
> ><br>
> > I have a question on load balancer,<br>
> ><br>
> > I have a 20 trunk entry in load balancer table. Once a call comes,<br>
> > will it check the available resources in all the trunks to find the<br>
> > less loaded trunk? or will it have some stack or memory table to<br>
> > maintain the load info to make the search fast.<br>
> ><br>
> > Please explain me the info.<br>
> ><br>
> > --<br>
> > Rajib Deka<br>
> > Software Engineer<br>
> > Servion Global Solution<br>
> > Chennai, India<br>
> ><br>
> > Mobile No: + 91 91767 80669<br>
> ><br>
> ><br>
> ------------------------------------------------------------------------<br>
> ><br>
> > _______________________________________________<br>
> > Users mailing list<br>
</div>> > <a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a> <mailto:<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>><br>
<div class="im">> > <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
> ><br>
><br>
><br>
> --<br>
> Bogdan-Andrei Iancu<br>
> OpenSIPS Bootcamp<br>
> 20 - 24 September 2010, Frankfurt, Germany<br>
</div>> <a href="http://www.voice-system.ro" target="_blank">www.voice-system.ro</a> <<a href="http://www.voice-system.ro" target="_blank">http://www.voice-system.ro</a>><br>
><br>
><br>
> _______________________________________________<br>
> Users mailing list<br>
> <a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a> <mailto:<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>><br>
<div><div></div><div class="h5">> <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
><br>
><br>
><br>
><br>
> --<br>
> Rajib Deka<br>
> Software Engineer<br>
> Servion Global Solution<br>
> Chennai, India<br>
><br>
> Mobile No: + 91 91767 80669<br>
><br>
> ------------------------------------------------------------------------<br>
><br>
> _______________________________________________<br>
> Users mailing list<br>
> <a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
> <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
><br>
<br>
<br>
--<br>
Bogdan-Andrei Iancu<br>
OpenSIPS Bootcamp<br>
20 - 24 September 2010, Frankfurt, Germany<br>
<a href="http://www.voice-system.ro" target="_blank">www.voice-system.ro</a><br>
<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Rajib Deka<br>Software Engineer<br>Servion Global Solution<br>Chennai, India<br><br>Mobile No: + 91 91767 80669<br><br>