> On Dec 19, 2024, at 12:09 pm, Olle E. Johansson <[email protected]> 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-and-performance/
>> 
>> 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: https://evaristesys.com
Tel: +1-706-510-6800

__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions -- 
[email protected]
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the 
sender!

Reply via email to