Thank you,

I remembered reading this long back - "Django requires Apache 2.x and
mod_python 3.x, and you should use Apache’s prefork MPM, as opposed to
the worker MPM."

I was not sure if prefork is required because of some limitation (like
threading issues) in Django 1.1 or python 2.5 or was it because of
modPython issues.


On May 17, 2:56 pm, Jacob Kaplan-Moss <[email protected]> wrote:
> On Tue, May 17, 2011 at 4:15 PM, ydjango <[email protected]> wrote:
> > I am using Python 2.5, django 1.1 with mod_wsgi 2.5
>
> > Does it matter if I use prefork or worker MPM for apache?
>
> In general, worker will use less RAM, thus allowing higher concurrency
> and usually higher perceived performance.
>
> But take that suggestion with a huge grain of salt: without knowing
> specifics about your application the question is basically
> unanswerable. worker's probably the right choice maybe 90% of the time
> though.
>
> > Which one is recommended for production use?
>
> They're both fine for production.
>
> Jacob

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" 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/django-users?hl=en.

Reply via email to