On 26/04/07, Graham Dumpleton <[EMAIL PROTECTED]> wrote: > > On Apr 25, 7:10 pm, Atilla <[EMAIL PROTECTED]> wrote: > > I personally find it Very bad to bind Django users to 1 apache worker > > model, considering how the Apache modules progress and the performance > > you can get out of using clever configurations. > > Can you elaborate on this further? I often see people being critical > of worker MPM but they normally don't explain why they think it is bad > and provide justification. > > Specifically, what sort of configuration are you talking about when > you say "1 apache worker"? Default configurations of worker MPM still > use multiple Apache child processes so you aren't normally channeling > all requests through one process. Also, the GIL is not as big an issue > as people think it is when using Apache as there can be a lot of other > stuff happening at the same time which isn't being done in Python so > you still achieve a fair degree of parallelism. > > I've ranted about this recently in: > > http://groups.google.com/group/karrigell/browse_frm/thread/488ffd42cee600b4 > > so will not post all the details again. > > Graham >
Perhaps I haven't expressed myself too clearly, since I think there's a misunderstanding here. I was saying that I find it bad to tell people that they should only use "prefork" as the MPM in Apache, especially not providing a good explanation for that. I am not critical of the worker MPM, in fact I was saying that I rather like it and I have used in different places. There are new MPMs for apache, in development that also look quite promising, should they reach a stable implementation. Depending on the nature of your application and the code that's being used, you can have significant gains, depending on the module and configuration being used. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---