Thanks to everyone for your time. Michael, I have found a similar GIL-related issue on ServerFault: http://groups.google.com/group/django-users/browse_thread/thread/4c42b458fd5bfba9
Are there ways to code around this limitation? What versions were you running when you encountered these issues? Thanks, again. Dimitry On 26 juil, 15:27, Michael Manfre <mman...@gmail.com> wrote: > I have a decent amount of experience with running apache, mod_wsgi and > django on windows (w/ MS SQL). Apache's process module on windows > (mpm_winnt) may result in you having to configure around some serious > GIL related performance issues. You might not hit the problems if the > site is low traffic. You can work around it with a load balancer > (either apache, haproxy, or other of your choice) sitting in front of > several apache instances on the same machine with ideally each having > their processor affinity set to a different, single processor. You'll > need to keep the threads per child low to avoid memory bloat. This set > up basically fakes the other process modules available on linux. > > I also did a bit of testing with nginx on windows. It's very resource > efficient and fast, but it didn't run well as a service on windows. It > orphaned processes when restarting the service. > > Regards, > Michael Manfre > > On Jul 26, 2:10 pm, Andre Terra <andrete...@gmail.com> wrote: > > > > > > > > > I recently compiled nginx with an additional module on windows and so far, > > so good. I'm probably skipping Apache altogether for this small website. > > > As far as PostgreSQL goes, from what I've seen, it works flawlessly on > > Windows. Never heard of anyone complaining about that. > > > Cheers, > > AT > > > On Tue, Jul 26, 2011 at 3:03 PM, CrabbyPete <pete.do...@gmail.com> wrote: > > > I've run django on Windows Server with apache and it was easy to > > > deploy. Forget IIS. I've deployed Nginx and uWSGI on linux and that > > > was even easier. > > > I've never done Nginx on windows, but I don't think it would be a big > > > deal. > > > > On Jul 26, 1:25 pm, Dimitry Zolotaryov <dimi...@webit.ca> wrote: > > > > So if I run into performance issues, I can always pipe from Apache to > > > > something like gunicorn and keep Apache serving static media? > > > > > Dimitry > > > > > On 26 juil, 13:03, Javier Guerra Giraldez <jav...@guerrag.com> wrote: > > > > > > On Tue, Jul 26, 2011 at 11:33 AM, Dimitry Zolotaryov > > > > > <dimi...@webit.ca> > > > wrote: > > > > > > Knowing this, any advice on the original question would be greatly > > > > > > appreciated. > > > > > > I haven't done any deployment on windows; but i do know some helpful > > > facts: > > > > > > - microsoft invests a lot of money in making sure that high-profile > > > > > OSS projects do run and run well on windows. That definitely includes > > > > > Apache, Python, and MySQL at least. don't know if PostgreSQL enjoys > > > > > this treatment (might erode into MS-SQL server mindshare?) > > > > > > - nginx and mod_wsgi can be compiled, and kinda run; but with severe > > > > > limitations. mod_wsgi in particular can't run in daemon mode. > > > > > > - any pure-Python setting should run without surprises, that lets you > > > > > choose either gunicorn or flup (for FastCGI) behind Apache. contrary > > > > > to some comments, a well-supervised flup setup can perform just as > > > > > good as the cool guys; but if you're not familiar with it gunicorn > > > > > might be easier. again, it's more a question of familiarity than of > > > > > performance. > > > > > > good luck! > > > > > > -- > > > > > Javier > > > > -- > > > 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 > > > django-users+unsubscr...@googlegroups.com. > > > For more options, visit this group at > > >http://groups.google.com/group/django-users?hl=en. -- 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 django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.