nginx unit (<a href="https://unit.nginx.org/configuration/#process-management" rel="nofollow">https://unit.nginx.org/configuration/#process-management</a>) does something very similar. with `spare = 0` config option it will start app process lazily and shutdown when idle.<p>There is support for Ruby, Python, PHP, Java, Node, Go runtimes.
Having first met Apache when Perl CGI scripts were bleeding edge fancy "web app" technology, I hoped to read a satirical article, but it's actually an earnest suggestion to go full circle.<p>It does less than proper CGI, due to giving up HTTP (particularly response headers, status codes and content types) in order to process constrained JSON, and it does it in a more complicated way (UI? Scheduler? Git repositories?), but it's still better than other options.
I did something very similar for handling webhooks (but can also be used for anything else), check it out at <a href="https://github.com/adnanh/webhook" rel="nofollow">https://github.com/adnanh/webhook</a><p>People have used it in various segments, from actual deployments on push, to home automation, someone even wrote a guide on how to control the Xiaomi Robot Vacuum using the Amazon Dash button :-)
Isn't this just OpenFaaS?<p>OpenFaaS has a single-binary distributable that doesn't require Docker/k8s they released called faasd:<p><a href="https://github.com/openfaas/faasd" rel="nofollow">https://github.com/openfaas/faasd</a>
Is this compatible with AWS Lambdas on some level? Could it be? What about FastCGI/WSGI/... compatibility? I'm thinking it could be really nice for hobby projects and for developing on a laptop.
a) This site is very hard to navigate; on mobile the text jumps around whenever you touch and it's usually cut off past the edge of the screen<p>b) I couldn't figure out what this is. At first I thought it was computer graphics rendering (what "CGI" usually means), but after skimming several paragraphs I don't think that's what it is? But I'm still not sure.<p>c) Clicking the github link tries to download a .zip, which beyond making it harder to figure out what this is, was mildly distressing.<p>Edit: re: the downvotes, presumably the author would want to know that their site is broken on mobile and that the content is inaccessible to the average reader who might be curious to learn about it, in ways that could be easily remedied.