Re: My first FastCGI experiment

David Birnbaum <[email protected]>
Newsgroups gmane.comp.web.fastcgi.devel
Message-ID <[email protected]>
If startup speed is of the essence, then run the php client as a static 
application - or tune your dynamic process manager to have a very slow kill 
cycle to things stay running for longer.

Cheers,

David.

-----

On Mon, 19 Dec 2005, Eugene wrote:

> Hi, Shane!
>
> I think there's dynamic configuration via mod_fastcgi - I havn't got how does 
> fastcgi works yet.
> Apache starts it and then it is kept in memory for some time.
>
> By the way - why mod_php works without this lag?
> Here apache gives file to mod, it has to parse it and then run.
> Or these 3 sec is internal overheads of fastcgi? Is it possible to minimize 
> them? I think fastcgi server is not so big and complex to be initialized for 
> so long time.
> Or another way is to make server static and permanently keep parsed scripts 
> in memory?
>
> I guess this lag overrides speed benefits from Fastcgi....
>
>
>
> Thank you!
>
>
>
> Shane De Jager ÐÉÛÅÔ:
>
>> Hi Eugene,
>> 
>> Are you running a static server or dynamic server? If you running dynamic, 
>> the first load will always be slow since it loading the modules into 
>> memory, then the next loads will be fast since everything has been loaded 
>> already. Dynamic servers do not stay alive for ever so if left dormant for 
>> a while the dynamic server will be killed. Thus when loading the page 
>> again, it is starting from scratch and loading modules into memory again.
>> 
>> 
>>
>> 
>
>

___________________________________
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.