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://evaristesys.com
Tel: +1-706-510-6800