2009/1/14 Joe Holloway <[email protected]>:
>
> Would it be possible (in theory) for mod_wsgi to leverage the Python
> multiprocessing package to support daemon process mode on Windows,
> even if in some degraded fashion on Python 2.6 (or even 2.4/2.5 if
> backport is available)?
>
> I don't know if the work effort would ultimately be worth it, but I'm
> just curious if my naive understanding of the problems being solved
> under-the-hood are similar enough to make it viable.

The daemon mode of mod_wsgi relies on fork in order to retain the in
memory data set up by the parent. The subprocess module as I
understand it does an exec as well and so would need to be a quite
different beast if one was to use that.

What it ultimately comes done to is that I don't use Windows myself
and have very little interest in the platform. That embedded mode of
mod_wsgi even works on Windows is probably more luck than anything
else, aided by fact that the Apache Runtime Library provides a good
cross platform set of common functions so don't in the main have to
worry about Windows specifics. Thus, don't expect me to develop
anything which is Windows specific and if I have available better ways
of doing something for UNIX systems which doesn't work on Windows, you
just will not see an equivalent on Windows.

Graham

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/modwsgi?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to