My first FastCGI experiment

Eugene <my-subscr-JGs/[email protected]>
Newsgroups gmane.comp.web.fastcgi.devel
Message-ID <[email protected]>
Hello!

I'm very new to FastCGI.
I've installed ion Fedora Core 4 (amd64) linux box following software:
- Apache 2.0.55 compiled with fastcgi module
- FastCGI  mod_fastcgi-SNAP-0404142202.tar.gz 
<http://fastcgi.com/dist/mod_fastcgi-SNAP-0404142202.tar.gz>
- PHP 5.1.1 compiled with --enbale-fastcgi and some modules

These all was successfully compiled and run.  Phpinfo showed "server 
api" is "CGI/FastCGI".
I tried to measure speed. This simple page was 50 times loaded with ab
#ab -n 50 http://localhost/phpinfo.php
Here I found one bad moment: first time page is loading about 3 sec, 
next times it takes about 2ms.
Next, I tried to test it with standard software shipped with FC4.
All page loads take about 1.5-2 ms.

How can I improve perfomance?
And more important: how to remove lag before first page load?


Thank you.
Eugene

___________________________________
fastcgi-developers mailing list
http://fastcgi.com/fastcgi-developers/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.