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
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
Thanks Andreas,
On Thu, Jul 18, 2024 at 2:59 AM Andreas Wehrmann a.wehrmann@yandex.com
wrote:
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@lists.pjsip.org
To unsubscribe send an email to pjsip-leave@lists.pjsip.org