Simon Willison’s Weblog

Subscribe

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.

This is Are there any alternatives to CGI for web servers? by Simon Willison, posted on 10th August 2013.

Next: How can I find short-term work experience at a startup in London?

Previous: How does a VC decide to make an investment?