Re: Maximum Number of Simultaneous Calls Supported by PJSIP in Python Using SWIG

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

 



Am 17.07.2024 um 21:33 schrieb Pavan Kumar:
Hello,

I am currently working on a project using PJSIP with Python via SWIG and am trying to determine the maximum number of simultaneous calls that can be supported by such an application. My main concern is that Python typically runs in a single thread. Could this be a significant limitation for handling multiple concurrent calls?


Thanks and regards,
Pavan Kumar

Hey there,

the audio and SIP threads run independently of your Python threads, so this shouldn't be an issue. Be aware though, that the conference bridge usually runs in a single thread and as such you're limited
to what the confbridge is able to do within one clock tick.
If you limit yourself to G.711 and avoid resampling you should be able to handle 300-400 calls without a problem. But you would need to do your own benchmarking because it heavily depends on your target machine of course  :-)

Best regards,
Andreas
_______________________________________________
Visit our blog: http://blog.pjsip.org

pjsip mailing list -- pjsip@xxxxxxxxxxxxxxx
To unsubscribe send an email to pjsip-leave@xxxxxxxxxxxxxxx




[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