Create a PBX

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

 



On Sep 13, 2010, at 12:36 PM, Benny Prijono wrote:

> We're good, thanks! I'm still looking forward to seeing you again in
> one of the next SIPits.
> 
> Right, that one. Actually, most pjmedia components are thread
> agnostic, hence it can accommodate any threading models that the
> designer chooses to achieve high performance. But, there is an
> exception to this, i.e. the conference bridge, which need to work in
> one thread, which makes sense since it needs to "synchronize" the
> timing of all ports connected to it. Having said that, nothing
> prevents you from creating multiple conference bridges and make each
> of them use different thread.

We are using this model in SIP SIMPLE client SDK and  Blink (multiple conference bridges) and we run into random crashes caused by multithreading issues. Hard to debug and impossible to reproduce deterministically but its happens sooner or later after running for awhile. Probably nobody else have done this before in production environments and this scenario was never properly tested, this is why I am mentioning it here.

Adrian




[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