[OpenSIPS-Users] Delay requests to avoid CPS provider's CPS limits

Daniel Zanutti daniel.zanutti at gmail.com
Mon Mar 28 03:11:58 CEST 2016


Hi

Did you take a look at async function of opensips 2.0? I think you may
insert some delay with this.
Em 27/03/2016 7:03 PM, "Mateusz Bartczak" <netcentrica at gmail.com> escreveu:

> Hi
>
> I'm looking for a solution to nicely handle call spikes
>
> The issue is like this:
>
> I have customer generating 100 calls every 10 seconds. Not during 10
> seconds, but exactly every 10 seconds I get 100 calls in one second, next 9
> seconds nothing and then next 100 calls...
>
> On the other side, I have provider that has 10 CPS limit
>
> In current setup I can only handle every 10 first calls, 90 are discarded
> by the provider. So I can handle only 10% of customer's traffic
>
> I'm thinking about a solution to delay calls above CPS limit to the nearly
> future. If I could delay calls 10-20 by one second, 20-30 by two seconds
> and so on. This way, in theory, I could handle 100% of calls not just 10%
>
> I can implement such thing with FreeSWITCH, call parking and some fancy
> scripting, but FS is many, many times slower than OpenSIPS and I'd like to
> avoid using it in such high CPS scenario
>
> Is there any pure OpenSIPS solution to this kind of problem?
>
> Best Regards
>
> Ten e-mail został wysłany z komputera wolnego od wirusów chronionego przez
> Avast.
> www.avast.com
> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
> <#m_3899828135394124499_DDB4FAA8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20160327/d954192f/attachment.htm>


More information about the Users mailing list