IIS和ISAPI-WSGI =非常慢

问题描述:

我使用 isapi-wsgi 在IIS上加载了2个Django应用程序。

I have loaded 2 Django apps on IIS using isapi-wsgi.

这些都是服务器设置:


  • Windows Server 2003,IIS6和SQL Server 2005

Windows Server 2008 R2,IIS7.5和SQL Server 2008

Django应用程序彼此完全不同。

The Django apps are completely different from each other.

对于每次 1到10秒的请求,他们都会随机抽取一段时间

与100 + -500ms的Apache + mod_wsgi设置相比,这是非常缓慢的,所以必定有问题。

This is painfully slow compared to 100ms-500ms of an Apache+mod_wsgi setup, so there must be something wrong.

有什么想法吗?如果我能解决这个问题真的很棒。 :)

不要使用django-mssql而是使用django-pyodbc !!

安装另一个Web服务器,如apache。

Install another web server, like apache.

严重 - IIS糟透了运行python wsgi应用程序。在这方面你无能为力。

Seriously - IIS sucks on running python wsgi apps. There's not much you can do in that regard.