FastCGI is a kind of CGI which is long-live, which will always be running. With FastCGI, it'll take less time. Because of multi-processes, FastCGI will cost more memory than CGI. In Detail Diff between FastCGI vs CGI