On Dec 19, 2024, at 12:09 pm, Olle E. Johansson
<oej(a)edvina.net> wrote:
YES! You've just summarised the central
thesis about async that I made in this blog post:
https://blog.evaristesys.com/2016/02/15/tuning-kamailio-for-high-throughput…
TL;DR don't do HTTP queries from Kamailio. Just don’t
Well, you can set up a cluster of background workers and use the normal http_client. That
will speed up the process to read from the network as the network client processes are
freed up by you suspending the transaction and continuing in a background process (which
you need many of). This will make life better in some cases, but not all.
Indeed, and this is what I do when I absolutely must use HTTP. We've built some
relatively performant SIP-to-HTTP data query bridges that way.
But when something is a poor fit, it's a poor fit. Kamailio is not a natural habitat
for HTTP queries.
-- Alex
--
Alex Balashov
Principal Consultant
Evariste Systems LLC
Web: