Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: mod_fcgi vs mod_fastcgi connections ? |
|
Author |
|
Zane_TLI
Joined: 28 May 2017 Posts: 11 Location: Ferrara, Italy
|
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Mon 12 Jun '17 11:31 Post subject: |
|
|
The truth is that mod_fcgid spwans a sufficient number instances of the CGI program to handle concurrent requests.
BUT those instances do NOT get killed / respawned each time. The advantage of mod_fcgid over mod_cgi is that the process / instance lives on. Therefore it is much faster than the old cgi.
I use mod_fcgid with PHP mostly. With FcgidProcessLifeTime 0 I don't let the fcgid process die until I have to restart apache. That enables the use of PHPs' opcache. There is almost no difference between mod_php and mod_fcgid + PHP. Yes you could measure a little difference, but in real world I never thad an issue with that.
Also the last known commit to mod_fastcgi was 5 years ago (AFAIK) [1]. www fastcgi com is no longer in use.
[1] github.com/ceph/mod_fastcgi |
|
Back to top |
|
|
|
|
|
|