You may then consider the "tiny CGI" concept.
You create a very small CGI which load very fast (you can build one being less
than 150KB and maybe
even less than 100KB and still doing useful things).
This CGI would load the DLL which would do the real work.
If you manage to also load the same DLL from your server, then the DLL will
remains always in memory
(DLL is shared by all executables provided the load address is compatible with
Instaed of a DLL, you may make the CGI a gateway to your server (or another
one), using any IPC you
like. That's the concept used by MidWare WebTechnology and his CGIGate module.
Author of ICS (Internet Component Suite, freeware)
Author of MidWare (Multi-tier framework, freeware)
----- Original Message -----
From: "Fastream Technologies" <[EMAIL PROTECTED]>
To: "ICS support mailing" <firstname.lastname@example.org>
Sent: Thursday, January 12, 2006 2:08 PM
Subject: Re: [twsocket] Process pooling for CGI
> ----- Original Message -----
> From: "Francois Piette" <[EMAIL PROTECTED]>
> To: "ICS support mailing" <email@example.com>
> Sent: Thursday, January 12, 2006 2:57 PM
> Subject: Re: [twsocket] Process pooling for CGI
> >> Is this possible? I want to keep the PHP-cgi.exe process loaded in memory
> >> for fast execution. Or is this what ISAPI can only do?
> > Yes, ISAPI is the way to go. ISAPI is just a DLL and stay in memory until
> > you unload it.
> ISAPI is good for ASP but PHP is _not_ thread safe according to php.net.
> What we need is a way to speed up CGI and the only possible way seems to be
> "process pooling" but this is a term I have just made up! Is there such
> technique? Is there a way to freeze and reinstate a process after a request
> is answered? I think it would be revolutionary!
> Best Regards,
> To unsubscribe or change your settings for TWSocket mailing list
> please goto http://www.elists.org/mailman/listinfo/twsocket
> Visit our website at http://www.overbyte.be
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be