On 27 September 2012 17:33, Roshan Mathews <[email protected]> wrote:
> On Mon, Sep 24, 2012 at 5:42 PM, Roshan Mathews <[email protected]> wrote:
>> What I am trying to do, is to understand how mod_wsgi works.  I still
>> have some questions, although the documentation is quite fabulous,
>> especially the page on ProcessesAndThreading [2].
>
> In case someone finds this thread later, lots of my questions were
> answered here: 
> https://groups.google.com/group/modwsgi/browse_thread/thread/c52b20e285488136/
>
> Given that sub-interpreters are just different "environments" for
> running python, can it be that the memory cost of running 1000 * N
> (for, WSGIDaemonProcess processes=N) is not the same as having 1000*N
> python processes running?  Significantly lower?

Running two applications in distinct processes, vs running them in two
distinct sub interpreters of the one process will not see a great deal
of difference in memory usage given that bulk of the memory usage is
going to be application level and there is no ability to share
anything across sub interpreters at that level.

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