[erlang-questions] Serve PHP/Python scripts behind Erlang

Frank Muller frank.muller.erl@REDACTED
Mon Mar 13 20:08:55 CET 2017


Hi Michael,

Never heard about CloudI. Sounds very interesting.
 I'll give it try.

/Frank

<mjtruog@REDACTED> a écrit :

> On 03/13/2017 10:47 AM, Frank Muller wrote:
>
> Thanks Loïc, that was the first lib I found. But it seems to be outdated.
>
> I'll will dig into the FastCGI spec soon.
>
> Anyone else?
>
>
> 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 http://cloudi.org/faq.html#4_Erlang and
> examples at http://cloudi.org/tutorials.html#cloudi_examples .
>
>
>
> /Frank
>
> <essen@REDACTED>
>
> The typical setup uses fastcgi: https://en.wikipedia.org/wiki/FastCGI
>
> There was an early attempt by Anthony at
> https://github.com/extend/ex_fcgi - not sure how much of it still works,
> but probably worth salvaging.
>
> On 03/13/2017 06:09 PM, Frank Muller wrote:
> > Hi guys
> >
> > What’s the most efficient way to run PHP (Python) scripts behind Erlang?
> >
> > I would like to receive HTTP requests in Cowboy and forward them to a
> > PHP/Python backend.
> >
> > Get the response back from the backend and forward it to the client.
> >
> > Thanks in advance.
> > /Frank
> >
> >
> > _______________________________________________
> > erlang-questions mailing list
> > erlang-questions@REDACTED
> > http://erlang.org/mailman/listinfo/erlang-questions
> >
>
> --
> Loïc Hoguin
> https://ninenines.eu
>
>
>
> _______________________________________________
> erlang-questions mailing listerlang-questions@REDACTED://erlang.org/mailman/listinfo/erlang-questions
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20170313/38abe383/attachment.htm>


More information about the erlang-questions mailing list