Synchronizing CGI processes?
Aahz Maruch
aahz at panix.com
Thu Oct 12 20:31:07 EDT 2000
In article <HzrF5.29559$oN2.823253 at news20.bellglobal.com>,
Olivier Dagenais <olivierS.dagenaisP at canadaA.comM> wrote:
>>
>> Here's a question: does your
>> service permit you to run a stand-alone process? If so, make that a
>> socket-based database server. This would also make your code run
>> generally faster.
>
>As far as I know, I don't think so. I guess it won't hurt to ask them!
>(I'm using http://free.prohosting.com in case someone here would already
>know???) You say "socket-based database server". What do you mean? That
>the said server would only be accessed by the running CGI processes or
>should I rather make it the full server?
The former. Basically, each time one of the CGI processes wants to do a
database access, it "makes a call" to the other server. asyncore will
probably do what you want here.
--
--- Aahz (Copyright 2000 by aahz at pobox.com)
Androgynous poly kinky vanilla queer het <*> http://www.rahul.net/aahz/
Hugs and backrubs -- I break Rule 6
"Isn't it interesting that the same people who laugh at science fiction
listen to weather forecasts and economists?" -- Kelvin Throop III
More information about the Python-list
mailing list