<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hello,</p>
<p>hash_size would be a parameter related to performances of
searching a pipe. The size of shared memory is relevant also
relevant in you have a very large amount of pipes.</p>
<p>Cheers,<br>
Daniel<br>
</p>
<br>
<div class="moz-cite-prefix">On 31.07.17 16:10, John Petrini wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAD4AmV7z-x3BmBqGUt5EpM4L=w6RVz=n6dHpNBaO_6zVr=N1wQ@mail.gmail.com">
<div dir="ltr">HI All,
<div><br>
</div>
<div>What's everyone's experience with pipelimit regarding
performance? Say we set dynamic pipes base on au and source
ip? This would result in thousands of pipes would it not? Is
this going to put a substantial load on the server? Are there
other settings that should be tweaked when implementing it
such as memory limits etc?<br>
<div class="gmail_extra"><br>
</div>
<div class="gmail_extra">Thank You,<br clear="all">
<div>
<div class="gmail_signature"
data-smartmail="gmail_signature">
<div>
<div
style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">
<p
style="background-color:rgb(255,255,255);margin-top:8px;margin-bottom:8px;color:rgb(51,51,51);line-height:1.6"><span
style="font-size:14pt">John Petrini</span></p>
</div>
</div>
<div
style="margin:0;padding:0;display:block;width:100%;height:auto"><br>
</div>
<img
src="https://t.xink.io/Tracking/Impression/Nx4AAGORAACukSoA0"
style="border: none; display: none !important;"
moz-do-not-send="true" height="1px" width="1px"></div>
</div>
<br>
<div class="gmail_quote">On Thu, Sep 1, 2016 at 6:50 AM,
Daniel-Constantin Mierla <span dir="ltr"><<a
href="mailto:miconda@gmail.com" target="_blank"
moz-do-not-send="true">miconda@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
the pipelimit aims to be more dynamic, while dropping
the queues<br>
concepts of ratelimit, given those can be done with IF
conditions inside<br>
kamailio.cfg.<br>
<br>
In ratelimit, the pipes are defined as parameters, with
some limits in<br>
the number of pipes as well as constrained to integer
ids for pipes.<br>
<br>
Pipelimit can load the definitions of pipes from
database, making it<br>
easier to provision via some gui. It doesn't store back
anything, given<br>
that even few seconds of shutdown will invalidate the
pipes counters.<br>
Moreover, the pipes can be created on the fly, they
don't have to be<br>
defined in advance via db or parameters. You can load
the limit and<br>
algorithm from a user profile and then just use them as
parameter with<br>
the username as pipe id parameter and you get a new pipe
created at that<br>
moment if there is none with same id.<br>
<br>
Cheers,<br>
Daniel<br>
<div class="HOEnZb">
<div class="h5"><br>
<br>
On 30/08/16 12:15, Andreas Granig wrote:<br>
> Hi Alex,<br>
><br>
> <a
href="http://www.kamailio.org/docs/modules/4.4.x/modules/ratelimit.html"
rel="noreferrer" target="_blank"
moz-do-not-send="true">http://www.kamailio.org/docs/<wbr>modules/4.4.x/modules/<wbr>ratelimit.html</a>
is<br>
> another approach here. Tried it as a proof of
concept recently and it<br>
> seems to do its job.<br>
><br>
> Seems like pipelimit is derived from ratelimit.
What's the main<br>
> difference from ratelimit, other than named
pipes and DB support? What's<br>
> the purpose of the DB support of pipelimit?
Does it cache its values and<br>
> can be reloaded from DB on demand (I don't see
an rpc command for that)?<br>
> That would be really valuable.<br>
><br>
> Andreas<br>
><br>
> On 08/29/2016 05:39 PM, Alex Balashov wrote:<br>
>> On 08/29/2016 11:37 AM, NITESH BANSAL
wrote:<br>
>><br>
>>> Finally I got it working. The issue was
that I was trying to use<br>
>>> pikelimit with Kamailio version 4.1,
4.1 version doesn't allow for<br>
>>> dynamic pipe creation.<br>
>>><br>
>>> In the end, I backported pipelimit code
from Kamailio version 4.2 and<br>
>>> used pl_check function to create
dynamic pipes.<br>
>> Excellent. That was indeed an important
shift. :-)<br>
>><br>
> ______________________________<wbr>_________________<br>
> SIP Express Router (SER) and Kamailio (OpenSER)
- sr-users mailing list<br>
> <a href="mailto:sr-users@lists.sip-router.org"
moz-do-not-send="true">sr-users@lists.sip-router.org</a><br>
> <a
href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users"
rel="noreferrer" target="_blank"
moz-do-not-send="true">http://lists.sip-router.org/<wbr>cgi-bin/mailman/listinfo/sr-<wbr>users</a><br>
<br>
</div>
</div>
<span class="HOEnZb"><font color="#888888">--<br>
Daniel-Constantin Mierla<br>
<a href="http://www.asipto.com" rel="noreferrer"
target="_blank" moz-do-not-send="true">http://www.asipto.com</a>
- <a href="http://www.kamailio.org"
rel="noreferrer" target="_blank"
moz-do-not-send="true">http://www.kamailio.org</a><br>
<a href="http://twitter.com/#%21/miconda"
rel="noreferrer" target="_blank"
moz-do-not-send="true">http://twitter.com/#!/miconda</a>
- <a href="http://www.linkedin.com/in/miconda"
rel="noreferrer" target="_blank"
moz-do-not-send="true">http://www.linkedin.com/in/<wbr>miconda</a><br>
</font></span>
<div class="HOEnZb">
<div class="h5"><br>
<br>
______________________________<wbr>_________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) -
sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org"
moz-do-not-send="true">sr-users@lists.sip-router.org</a><br>
<a
href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users"
rel="noreferrer" target="_blank"
moz-do-not-send="true">http://lists.sip-router.org/<wbr>cgi-bin/mailman/listinfo/sr-<wbr>users</a><br>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/miconda">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda">www.linkedin.com/in/miconda</a>
Kamailio Advanced Training - <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
Kamailio World Conference - <a class="moz-txt-link-abbreviated" href="http://www.kamailioworld.com">www.kamailioworld.com</a></pre>
</body>
</html>