PJSIP for high scale SIP server

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Not done it myself, but I think you need to have multiple threads call
the "pjsip_endpt_handle_events" function.

See: http://www.pjsip.org/pjsip/docs/html/group__PJSIP__ENDPT.htm#ga2fc6fbb56b269712776f22d02edb2f6c

On Wed, Jul 10, 2013 at 12:06 AM, Matt Williams
<Matt.Williams at metaswitch.com> wrote:
> Saul,
>
> Thanks for the pointer!
>
> I've pulled down and investigated the Asterisk code, but unfortunately it only uses a single transport thread for PJSIP.  I might ask on their mailing list and see if they've looked at this aspect of scalability.
>
> Thanks again,
>
> Matt
>
> -----Original Message-----
> From: pjsip [mailto:pjsip-bounces@xxxxxxxxxxxxxxx] On Behalf Of Sa?l Ibarra Corretg?
> Sent: 08 July 2013 11:22
> To: pjsip list
> Subject: Re: PJSIP for high scale SIP server
>
> The Asterisk project is now using PJSIP as their SIP stack. It's right now in trunk and will be part of Asterisk 12.
>
> On Jul 5, 2013, at 6:31 PM, Matt Williams wrote:
>
>> Hi,
>>
>> I'm working on Project Clearwater (http://www.projectclearwater.org/), an open source highly-scalable IMS (IP Multimedia Subsystem) implementation.
>>
>> We're using PJSIP as our SIP stack.  Most of the trails I've seen on the mailing list have been about using PJSIP for SIP clients, but is anyone using it (like us) server-side, e.g. for proxies or B2BUAs?  Each instance of our "bono" edge proxy server supports 50000 incoming SIP/TCP connections (and the limitation we then hit is with Amazon AWS EC2, not the software itself), but we're unable to have more than one transport thread (i.e. running pjsip_endpt_handle_events).  If we have more than one, we see crashes that seem to be related to concurrent accesses to shared data structures from multiple threads.
>>
>> Does anyone have any experience of running multiple transport threads, or any pointers for using PJSIP at high scale?  I'm happy to investigate more (and share crash dumps if that's useful), but wanted to check whether anyone else had seen this first.
>>
>> Thanks,
>>
>> Matt
>>
>> _______________________________________________
>> Visit our blog: http://blog.pjsip.org
>>
>> pjsip mailing list
>> pjsip at lists.pjsip.org
>> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>
> --
> Sa?l Ibarra Corretg?
> AG Projects
>
>
>
>
> _______________________________________________
> Visit our blog: http://blog.pjsip.org
>
> pjsip mailing list
> pjsip at lists.pjsip.org
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>
> _______________________________________________
> Visit our blog: http://blog.pjsip.org
>
> pjsip mailing list
> pjsip at lists.pjsip.org
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org



[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux