mod-wsgi makes your wsgi apps persistent. In one mode, they are embedded in the Apache server directly, and in the other mode they run daemonized as their own processes. In either mode, having the wsgi app (and its dependency modules) persistent in memory allows a faster response than cgi can do; cgi involves loading the app from disk for each invocation.
There are other perks to mod_wsgi, such as the ability to use python authentication handlers for Apache pages. See: http://code.google.com/p/modwsgi/w/list for abundant docs on the module. David On Thu, Mar 4, 2010 at 12:45 PM, AnotherNetFellow <[email protected]> wrote: > Hi, > > today I found that Google App Engine applications are working with > wsgiref. So, i'm new to wsgi world. > > On wsgi.org i read that mod_wsgi (for apache) and wsgiref (python > module) are alternatives. Module wsgiref also includes a CGI gateway > that can make it working with every server that supports CGI > applications. > > Ok, the question is: what is the difference? wsgiref is cross-platform > and server-indipendent. So, why should I use mod_wsgi? > > I've been googling for the entire afternoon, but can't find any > article speaking about this. > > Can you please help me? > > Thankyou > > Giorgio > > -- > You received this message because you are subscribed to the Google Groups > "modwsgi" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/modwsgi?hl=en. > > -- [email protected] Rdbhost -> SQL databases as a webservice [www.rdbhost.com] -- You received this message because you are subscribed to the Google Groups "modwsgi" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/modwsgi?hl=en.
