I'm working on the optimization of an application. It has some problems of performance. When I was deep in the code, I did not notice any particular problem. The code is a bit dirty but nothing that could cause these performance problems.
I'm wondering how I can improve the system part, which is 'exotic' : Windows + Zend Server + Apache + DB2.
I tried to run an apache benchmark (the php page contains only "echo 'test'"), here is the result : - ab run from the host : ~400 requests per second - ab run from another computer : ~0.5 request per second (!) -> I can't explain this very bad performances.
I only found that I must use FastCGI, which I do.
Thanks
Does the host system have anti-virus s/w running?
Or any type of packet sniffing s/w?
If not, it could be a timeout issue with IP reverse lookup or DNS resolve settings in Apache, or in the PHP code, or with the database.