Please note that that this last example requires additional licenses for every CPU running our software. That depends on the script but 50 times as fast is possible. Apache creates a new process and executes the script. Perl compiles the code of the script. The script runs and passes its output back to Apache.
Apache passes it along to the surfer.
This process is repeated for every request. The final time-saver in the case of our scripts is that it also keeps the database connections open between requests, saving even more time. Decreased memory use on busy sites since there is no need to compile or fork for each request. If script a.cgi and b.cgi both use library c.pm, then only one copy of c.pm is stored in memory. With FastCGI, c.pm would be in memory twice.