<div dir="ltr">I think, Max means that you choose most expensive way to deal with it and it's not about efficiency of http handling but about efficiency of aim achieving :)</div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Aug 31, 2017 at 9:04 AM, Paul Oliver <span dir="ltr"><<a href="mailto:puzza007@gmail.com" target="_blank">puzza007@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><br><div class="gmail_quote"><span class=""><div dir="ltr">On Thu, Aug 31, 2017 at 5:01 PM Max Lapshin <<a href="mailto:max.lapshin@gmail.com" target="_blank">max.lapshin@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra">I've looked into your katipo and I do not understand what for is it.</div></div></blockquote><div><br></div></span><div>It's a way to use libcurl from Erlang. You can find more information about libcurl here <a href="https://curl.haxx.se/libcurl/" target="_blank">https://curl.haxx.se/<wbr>libcurl/</a>.</div><span class=""><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><br></div><div class="gmail_extra">You launch curl as a separate program and communicate with it from erlang. What for?</div></div></blockquote><div><br></div></span><div>HTTP compatibility (curl) and safety (port program).</div><span class=""><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><br></div><div class="gmail_extra">Erlang has excellent network communication system and you have selected most inefficient way to fetch http.</div></div></blockquote><div><br></div></span><div>As mentioned in my earlier email, the httpc_benchmark ranks katipo fairly well so any inefficiency of using an external port doesn't seem to be taking too much of a toll. I've considered using some sort of NIF but haven't found the need. Pull requests welcome though.</div><span class=""><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div><div class="gmail_extra">We in Flussonic use lhttpc and it works for us.  Some fixes like adding timing and internal protocol support and it works for us.</div></div></blockquote><div><br></div><div><br></div></span></div></div>
<br>______________________________<wbr>_________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" rel="noreferrer" target="_blank">http://erlang.org/mailman/<wbr>listinfo/erlang-questions</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><span></span>Best Regards.<div>Taras Halturin</div></div></div></div>
</div>