Webware 0.7/Singleton pattern

Alex Martelli aleax at aleax.it
Wed Jul 17 04:17:36 EDT 2002


Ian Bicking wrote:
        ...
>> You may be serving hits in different processes -- that depends in
>> part on how you're using Webware... it can be installed to work
>> on top of CGI, and CGI by definition uses a new process each time.
> 
> Even when using the CGI adapter with Webware, you still only have one
> process.  The CGI program starts, and then connects to the persistent
> Webware AppServer.  (Unless you are using OneShot, which can introduce
> all sorts of problems like this, since it does start new processes)

Right!  I *WAS* confusing OneShot with CGI-connecting-to-AppServer --
thanks for pointing out the difference.


Alex




More information about the Python-list mailing list