[mod_python] Singleton Object

Graham Dumpleton graham.dumpleton at gmail.com
Thu Dec 13 21:17:15 EST 2007


On 14/12/2007, Tom Wells <drshade at gmail.com> wrote:
> On Dec 13, 2007 11:03 AM, Graham Dumpleton <graham.dumpleton at gmail.com>
> wrote:
>
> > The only other away around it would be to not use mod_python specific
> > features and write your application as WSGI application instead. You
> > could then use mod_wsgi, with embedded mode used on Windows and on
> > UNIX systems use daemon mode with a single multitheaded daemon
> > processes.
> >
> > You can compare how mod_wsgi is same/different to mod_python in
> > respect of process use at:
> >
> >
>
> Yep, WSGI sounds great, and actually would probably work very nicely in a
> pure apache solution, my issue is that I need to build a similar adapter for
> Windows IIS, so I think it may be best to work at a lower level such as
> mod_python (and pywin32 for the IIS side).

For WSGI on IIS see:

  http://code.google.com/p/isapi-wsgi/

That way you should be able to use the sam code base.

Graham


More information about the Mod_python mailing list