CGI, or Common Gateway Interface, is the historical standard for interfacing web servers and application binaries. It is widely used and robust. However it may lead to performance issues since each query requires the web server to create a new process (typically a process running acp, search, content or click when using AFS). The process is in charge of building the reply — once this task is done, the process ends.
CGI implies an overhead for each query since: