My experiment with FastCGI has come to an end.
You may remember my last post about upgrading my server to the latest Apache, PHP 5.4.x, and switching to FastCGI.
The biggest issue with this new setup was the fact that APC was not shared amongst all the PHP processes, which really made things more difficult. Did I really want to recode my caching solution? An alternative would be to use Redis, but that is assuming FastCGI was faster than DSO and worth using.
Caching aside, FastCGI is slower than DSO based on testing in a production environment. In some high traffic situations FastCGI performed significantly slower.
On the other hand, FastCGI was great with resource management compared to DSO. It managed to keep memory usage low during both real world testing and benchmarks that I threw at it.
In the end, I guess it depends on what you are looking for. Speed or better resource management?