Really,
since the visible (A) is fine, now what about (B)? If I'm talking about executables (correctly compiled C / C ++ programs, and not in scripts like perl / php / ...), and if we look at the cost of the spun process and the cost of connecting to a new DB, then this approach ( FastCGI) will it just be something like a small gain compared to regular CGI executables?
I mean, considering that Linux develops (forces) the process very quickly, and if the database works locally (for example, the same MySQL node), the time required to launch a new executable file and connect to the database is practically 0. case, without any interpretation, only Apache C / C ++ modules will be faster than this.
Using the FastCGI approach, you are even more vulnerable to memory leaks, because the process does not fork / restart every time ... At the moment, if you need to develop CGI in C / C ++, it is better to use the original CGI and / or Apache C modules directly / C ++?
Again, I'm not talking about scripts (perl / php / ...), I'm talking about compiled CGI.
Thanks again, Hi, Ema! :-)
Ema
source share