IIS和ISAPI-WSGI =非常慢 [英] IIS and ISAPI-WSGI = very slow

查看:162
本文介绍了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.

这篇关于IIS和ISAPI-WSGI =非常慢的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆