vonH

vonH

What libraries do Elixir and Erlang use for web development with CGI and FastCGI?

What libraries do Elixir and Erlang use for web development with CGI and FastCGI?

If you wish to know it is for shared hosting services which use CGI and FastCGI. VPSs and dedicated servers are not in use here.

Thanks

Most Liked

OvermindDL1

OvermindDL1

You could probably make a simple escript to act as a FastCGI endpoint (I’d not recommend CGI as it would reload the BEAM VM on every-single-request). The spec is certainly simple enough that libraries are not really needed at all.

But why though? You will be losing out on a huge amount of features and speed by doing that… o.O

vonH

vonH

People don’t hold domain names for that long, there are copies at Github and MitEdu at least they should be there until Github expires or the owners delete them.

benwilson512

benwilson512

Author of Craft GraphQL APIs in Elixir with Absinthe

I completely understand this motivation. However, I’m unclear on why cgi or fast_cgi are seen as the basics. They’re older, that’s for sure, but they aren’t particularly basic or fundamental to web interactions. They certainly don’t form the basics that underly how something like Erlang works.

Last Post!

alishir

alishir

Hi all, I’m seeking a way to integrate a basic Erlang app with Apache2 via the FastCGI protocol. I’ve explored ex_fcgi but it doesn’t seem suitable for this task. I discovered that Erlang has an FCGI socket type. Do you have any insights on how I can integrate an Erlang app with Apache2 using the FastCGI communication protocol? I’m looking for an Erlang equivalent to fcgiwrap + Perl’s FCGI.

Where Next?

Popular in Questions Top

vegabook
I’m brand new to Phoenix and I have stripped one of the demo applications to the bone. I just want to get an svg up on the screen. Here i...
New
lanycrost
Hi everyone! I need implement if…else if…else condition from my elixir code, and anymore of this control flow structures not work proper...
New
mcarvalho
What is the difference between System.get_env and Application.get_env? For example, what are best practices to use one versus another.
New
alice
Hey, Just curious what are the main benefits of Elixir compared to Clojure? When is Elixir more useful than Clojure and vice versa? Th...
New
fayddelight
I tried installing elixir 1.11.2 erlang 23.3.4 via asdf in my zsh shell. Enabled the versions locally and globally. When I list them ...
New
Harrisonl
We have an ECS cluster with 4 services, where each task joins a single cluster, via discovery ECS discovery service. Currently when I de...
New
senggen
Erlang/OTP 25 [erts-13.2.2] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] 15:22:35.803 [error] gen_event {lager_file_backend...
New

Other popular topics Top

New
hariharasudhan94
I would like to know what is the best IDE for elixir development?
New
JakeBecker
TL;DR: I’ve just released an implementation of Microsoft’s IDE-independent Language Server Protocol for Elixir. It adds language support ...
1144 54921 245
New
aadeshere1
I have a another noob question about loop. Since elixir is immutable, while loop is not directly possible. total = 10 while total != 0 ...
New
bsollish-terakeet
Credo is smart enough to check for (something like) this: assert length(the_list) == 0 with this response: Checking if an enum is empt...
New
Patoshizzle
After calling mix ecto.create I get this error: 17:00:32.162 [error] GenServer #PID<0.412.0> terminating ** (Postgrex.Error) FATAL...
New

We're in Beta

About us Mission Statement