[mod_python] persistent, reliable globals

Ben ben at medianstrip.net
Tue Mar 9 22:16:42 EST 2004


personally i'm using bsddb3 / sleepycat, which is available on
sourceforge.  it provides concurrent super-fast shared-memory disk
backed btree databases.  YMMV.

B

On Tue, 9 Mar 2004, Michael S. Fischer wrote:

> David Geller writes:
>
> > Suggestion:
> > Perhaps what would be handy: a special python function call,
> > implemented via the API, to allow setting/getting of objects
> > global to all the forked children for a particular named
> > interpreter. These objects might be accessible through the
> > req object, for example. I don't know enough to judge...
> >
> > Is this feaible? Useful (well, it would be to me...)? Easy/hard?
>
> Why don't you just use on-disk storage (e.g. anydbm) or a remote db for
> this?  Why reinvent the wheel?
>
> --Michael
>
> _______________________________________________
> Mod_python mailing list
> Mod_python at modpython.org
> http://mailman.modpython.org/mailman/listinfo/mod_python
>



More information about the Mod_python mailing list