Thank you for the reply Alex, will look into using http_async_client.
Regards!
On Thu, Jan 21, 2021 at 5:45 PM Alex Balashov <abalashov(a)evaristesys.com>
wrote:
Yes, it does. And, although, there are plenty of ways
to use it
“asynchronously” without using http_async_client (e.g. mqueue and rtimer,
or the async module wrappers), you’ll find that http_async_client, viewed
in that light, doesn’t seem so complicated after all.
—
Sent from mobile, with due apologies for brevity and errors.
On Jan 21, 2021, at 11:40 AM, Alejandro Recarey
<alexrecarey(a)gmail.com>
wrote:
Hi all,
Sorry if this question is answered somewhere else but I'm not finding
the
answer in the documentation.
Does calling http_client_query() in the http_client module block
kamailio's
thread until the http request returns? I'm asking because of
scalability issues. My plan is to use it to get some information from my
system, and so it will be called for every INVITE request, and I'm afraid
of the performance considerations.
I see there is a http_async_client module that should get around this
but of
course, it seems harder to use.
Thanks for your help,
Alex
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users(a)lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users(a)lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users