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 drawbacks/trade-offs favoring one over the other?

Answers


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.


Need Your Help

What's `rspec/autorun` for?

ruby-on-rails rspec rspec-rails

I was having some problem with zeus + rspec and the solution I found says that I must to delete require 'rspec/autorun' from spec_helper.rb.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.