Re: My first FastCGI experiment
"Rares Marian" <[email protected]>
| Newsgroups | gmane.comp.web.fastcgi.devel |
|---|---|
| Message-ID | <[email protected]> |
The delay only happens once because the dynamic server is killed. Use a static one. ----- Original Message ----- From: Eugene <my-subscr-JGs/[email protected]> To: fastcgi-developers-xGejAJT2w6xVgU18Zptdi0EOCMrvLtNR@public.gmane.org Subject: Re: [FASTCGI] My first FastCGI experiment Date: Mon, 19 Dec 2005 17:26:34 +0300 > > 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/ -- _______________________________________________ Check out the latest SMS services @ http://www.linuxmail.org This allows you to send and receive SMS through your mailbox. Powered by Outblaze ___________________________________ fastcgi-developers mailing list http://fastcgi.com/fastcgi-developers/