<div>Hi Michael,</div><div><br></div><div>Never heard about CloudI. Sounds very interesting.</div><div> I'll give it try. </div><div><br></div><div>/Frank</div><div><br><div class="gmail_quote"><div><<a href="mailto:mjtruog@gmail.com">mjtruog@gmail.com</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div text="#000000" bgcolor="#FFFFFF" class="gmail_msg">
    <div class="m_7807613322103508737moz-cite-prefix gmail_msg">On 03/13/2017 10:47 AM, Frank Muller
      wrote:<br class="gmail_msg">
    </div>
    <blockquote type="cite" class="gmail_msg">
      <div class="gmail_msg">Thanks Loïc, that was the first lib I found. But it seems to
        be outdated. </div>
      <div class="gmail_msg"><br class="gmail_msg">
      </div>
      <div class="gmail_msg">I'll will dig into the FastCGI spec soon.</div>
      <div class="gmail_msg"><br class="gmail_msg">
      </div>
      <div class="gmail_msg">Anyone else?</div>
    </blockquote>
    <br class="gmail_msg"></div><div text="#000000" bgcolor="#FFFFFF" class="gmail_msg">
    If you are using PHP and/or Python code as services that are always
    running for the sake of efficiency and you want to maximize
    throughput (avoiding an Erlang port of cnode being a bottleneck),
    CloudI can provide service messaging and be an application server
    for the PHP/Python with Erlang.  The cloudi_service_http_cowboy and
    cloudi_service_http_elli provide integration for making HTTP
    requests CloudI service requests.  There is some justification at
    <a class="m_7807613322103508737moz-txt-link-freetext gmail_msg" href="http://cloudi.org/faq.html#4_Erlang" target="_blank">http://cloudi.org/faq.html#4_Erlang</a> and examples at
    <a class="m_7807613322103508737moz-txt-link-freetext gmail_msg" href="http://cloudi.org/tutorials.html#cloudi_examples" target="_blank">http://cloudi.org/tutorials.html#cloudi_examples</a> .</div><div text="#000000" bgcolor="#FFFFFF" class="gmail_msg"><br class="gmail_msg">
    <br class="gmail_msg">
    <blockquote type="cite" class="gmail_msg">
      <div class="gmail_msg"><br class="gmail_msg">
      </div>
      <div class="gmail_msg">/Frank</div>
      <div class="gmail_msg"><br class="gmail_msg">
      </div>
      <div class="gmail_msg">
        <div class="gmail_quote gmail_msg">
          <div class="gmail_msg"><<a href="mailto:essen@ninenines.eu" class="gmail_msg" target="_blank">essen@ninenines.eu</a>> <br class="gmail_msg">
          </div>
          <blockquote class="gmail_quote gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">The
            typical setup uses fastcgi: <a href="https://en.wikipedia.org/wiki/FastCGI" rel="noreferrer" class="gmail_msg" target="_blank">https://en.wikipedia.org/wiki/FastCGI</a><br class="gmail_msg">
            <br class="gmail_msg">
            There was an early attempt by Anthony at<br class="gmail_msg">
            <a href="https://github.com/extend/ex_fcgi" rel="noreferrer" class="gmail_msg" target="_blank">https://github.com/extend/ex_fcgi</a>
            - not sure how much of it still works,<br class="gmail_msg">
            but probably worth salvaging.<br class="gmail_msg">
            <br class="gmail_msg">
            On 03/13/2017 06:09 PM, Frank Muller wrote:<br class="gmail_msg">
            > Hi guys<br class="gmail_msg">
            ><br class="gmail_msg">
            > What’s the most efficient way to run PHP (Python)
            scripts behind Erlang?<br class="gmail_msg">
            ><br class="gmail_msg">
            > I would like to receive HTTP requests in Cowboy and
            forward them to a<br class="gmail_msg">
            > PHP/Python backend.<br class="gmail_msg">
            ><br class="gmail_msg">
            > Get the response back from the backend and forward it
            to the client.<br class="gmail_msg">
            ><br class="gmail_msg">
            > Thanks in advance.<br class="gmail_msg">
            > /Frank<br class="gmail_msg">
            ><br class="gmail_msg">
            ><br class="gmail_msg">
            > _______________________________________________<br class="gmail_msg">
            > erlang-questions mailing list<br class="gmail_msg">
            > <a href="mailto:erlang-questions@erlang.org" class="gmail_msg" target="_blank">erlang-questions@erlang.org</a><br class="gmail_msg">
            > <a href="http://erlang.org/mailman/listinfo/erlang-questions" rel="noreferrer" class="gmail_msg" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br class="gmail_msg">
            ><br class="gmail_msg">
            <br class="gmail_msg">
            --<br class="gmail_msg">
            Loïc Hoguin<br class="gmail_msg">
            <a href="https://ninenines.eu" rel="noreferrer" class="gmail_msg" target="_blank">https://ninenines.eu</a><br class="gmail_msg">
          </blockquote>
        </div>
      </div>
      <br class="gmail_msg">
      <fieldset class="m_7807613322103508737mimeAttachmentHeader gmail_msg"></fieldset>
      <br class="gmail_msg">
      <pre class="gmail_msg">_______________________________________________
erlang-questions mailing list
<a class="m_7807613322103508737moz-txt-link-abbreviated gmail_msg" href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a>
<a class="m_7807613322103508737moz-txt-link-freetext gmail_msg" href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a>
</pre>
    </blockquote>
    <br class="gmail_msg">
  </div></blockquote></div></div>