mod_fcgid has implemented a new process management strategy that focuses on minimizing the amount of fastcgi servers, leading to improved performance and efficiency.
One of the great features of mod_fcgid is its binary compatibility to mod_fastcgi. You don't need to recompile your existing fastcgi programs – all you need to do is install the module and get it up and running.
Additionally, mod_fcgid offers strict control on process spawn. Every request handler of Apache knows about how many existing fastcgi servers are running, and the request handlers collaborate with each other to ensure over-spawning doesn't occur. This means you can count on smooth efficiency while avoiding any processing issues.
The speed control strategy is simple and score-based. The score increases while a process is spawned or terminated and decreases over time. While the score is higher than the score maximum, spawning will be held. This ensures a prompt response to requests, especially when the system starts up, and prevents failure caused by immediate termination of applications.
Mod_fcgid also offers fastcgi server error detection. Each fastcgi server has a unique path listening on separate UNIX domain sockets or named pipes in Windows. This makes it easy to identify and kick out corrupt fastcgi servers.
In addition to all these great features, mod_fcgid is portable. It uses the Apache APR library as much as possible, and both portable and un-portable source code is split, with un-portable code organized in the arch directory. The module has been tested on Linux, FreeBSD, Windows 2000, and Solaris, ensuring compatibility with a range of systems.
Lastly, if you're a PHP user, mod_fcgid supports running it in FastCGI mode. This solution resolves issues with some PHP extensions or 3rd-party libraries that may not be guaranteed thread-safe.
Overall, mod_fcgid is a reliable and efficient choice for managing Apache processes. Its various features make it a great option for users who value speed, efficiency, and simplicity.
Version 2.3.4: N/A