[asterisk-dev] Asterisk Performance as a B2BUA

Christian Schlatter cs at unc.edu
Thu Nov 22 17:05:33 CST 2007


Simon Perreault wrote:
> On Thursday 22 November 2007 13:30:58 Vadim Lebedev wrote:
>> the actuall SIP processing could be stalled during
>> i/o waits in activities
>> like logging or DB access.
> 
> If I/O is blocking, then adding threads is not the solution.
> 
> Making it non-blocking (e.g. with aio), that is the solution.

It's not about I/O, it is about creating a new thread per SIP session 
which is surely not optimal. This is where a thread pool would come in 
handy.

/Christian



More information about the asterisk-dev mailing list