Thanks Bogdan.<br>I know that OpenSIPS will store the state info in memory. My question is, Suppose I have 100 trunks as destination in memory to load balance with different state info, so when a new call (INVITE) comes to OpenSIPS, will OpenSIPS go through all the 100 trunk's state info to choose the least loaded one or it has some efficient search algo that returns the less loaded trunk. We are using 100+ trunk (duplicate entry) info to achieve some CPS limit. So our main concern is the search time for OpenSIPS to choose a trunk. <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 8:46 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 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>
<div><div></div><div class="h5"><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>
</div></div>> ------------------------------------------------------------------------<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>
</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>