开发者

Python/Django: What mode for mod_wsgi

I am new to Python and plan to learn Python/Django. I am in the middle of installing Apache and mod_wsgi right now, I have read on the website that there are two modes: embedded mode (favoring performance) and deamon mode (favoring security). I am wondering what would be a better option in this case, and what is the reasoning behind that? Is there any considerable drawba开发者_StackOverflowcks/trade-offs favoring one over the other?


The modwsgi documenation explains the differences. Embedded mode will run the application within the Apache process itself, deamon mode will not. The summary of the first seven paragraphs of the docs:

Thus, unless you are adept at configuring Apache, always use daemon mode when available.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜