Are there any alternatives to CGI for web servers?
10th August 2013
My answer to Are there any alternatives to CGI for web servers? on Quora
Yes. CGI stopped being relevant around the turn if the century! Many languages can be embedded in web servers now (mod_php, mod_python, mod_perl for Apache etc), there’s the FastCGI protocol which allows web servers to communicate with external processes without needing to start a brand new process for every request, and it’s also common these days to run an HTTP server written in the same language as your application and proxy requests to it—Unicorn, gunicorn, Jetty are all examples of this.
More recent articles
- My AI/LLM predictions for the next 1, 3 and 6 years, for Oxide and Friends - 10th January 2025
- Weeknotes: Starting 2025 a little slow - 4th January 2025
- I still don't think companies serve you ads based on spying through your microphone - 2nd January 2025