<div dir="ltr">Thank you for the reply Alex, will look into using http_async_client. Regards!</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jan 21, 2021 at 5:45 PM Alex Balashov <<a href="mailto:abalashov@evaristesys.com">abalashov@evaristesys.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">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. <br>
<br>
—<br>
Sent from mobile, with due apologies for brevity and errors.<br>
<br>
> On Jan 21, 2021, at 11:40 AM, Alejandro Recarey <<a href="mailto:alexrecarey@gmail.com" target="_blank">alexrecarey@gmail.com</a>> wrote:<br>
> <br>
> <br>
> Hi all,<br>
> <br>
> Sorry if this question is answered somewhere else but I'm not finding the answer in the documentation.<br>
> <br>
> 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.<br>
> <br>
> I see there is a http_async_client module that should get around this but of course, it seems harder to use.<br>
> <br>
> Thanks for your help,<br>
> <br>
> Alex<br>
> _______________________________________________<br>
> Kamailio (SER) - Users Mailing List<br>
> <a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a><br>
> <a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
<br>
_______________________________________________<br>
Kamailio (SER) - Users Mailing List<br>
<a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a><br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</blockquote></div>