Your contention that I was rebutting (emphasis mine) was:
*
"whether it's better to let slow HTTP requests block things or stack up in an
async context, and the contention was that it doesn't much matter either way and that
the difference won't be too big,"
The difference in performance is substantial. Your indication that the performance of the
two modules as near equal is incorrect. Both in theory and in practice it is the better
of the two options.
(You might turn back to the "if one were to create a ridiculous number of
processes", but since each module gets allocated memory per process, this is not a
good idea).
Kaufman
Senior Voice Engineer
E: bkaufman(a)bcmone.com
SIP.US Client Support: 800.566.9810 | SIPTRUNK Client Support: 800.250.6510 |
Flowroute Client Support: 855.356.9768
[img]<https://www.sip.us/>
[
img]<https://www.siptrunk.com/>
[
img]<https://www.flowroute.com/>
________________________________
From: Alex Balashov via sr-users <sr-users(a)lists.kamailio.org>
Sent: Monday, December 23, 2024 1:01 PM
To: sr-users(a)lists.kamailio.org <sr-users(a)lists.kamailio.org>
Cc: Alex Balashov <abalashov(a)evaristesys.com>
Subject: [SR-Users] Re: Kamailio not receiving packets on high CPS
CAUTION: This email originated from outside the organization. Do not click links or open
attachments unless you recognize the sender and know the content is safe.
On Dec 23, 2024, at 1:14 pm, Ben Kaufman
<bkaufman(a)bcmone.com> wrote:
• the original controversy was about whether it's better to let slow HTTP
requests block things or stack up in an async context, and the contention was that it
doesn't much matter either way and that the difference won't be too big.
TL;DR: The difference isn't only big, it's enough to make the OP's proposed
scenario work.
I didn't say 750 CPS wouldn't work, and didn't make that claim when you
originally asked. The danger with committing to specific numbers is that they harken back
to the era of hardware and software in which you last did peak load tests.
In the case of http_async_client, for me, that was probably the mid-2010s. Whatever I
could say worked or didn't work then is surely different now.
My contention was that HTTP queries, even with http_async_client, are a paradigm for which
Kamailio isn't especially well-suited as compared to other approaches. That is to say,
the other designs recommended here would work better, if properly implemented. I don't
say that http_async_client can't be made to hit the OP's specific targets, and I
commend you in your efforts to show that it can.
-- Alex
--
Alex Balashov
Principal Consultant
Evariste Systems LLC
Web:
https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fevaristes…
Tel: +1-706-510-6800
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions --
sr-users(a)lists.kamailio.org
To unsubscribe send an email to sr-users-leave(a)lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the sender!