durusmail: quixote-users: Performance of DirMapping
Performance of DirMapping
2005-02-18
2005-02-18
Performance of DirMapping
Titus Brown
2005-02-18
-> I looked at the PostgreSQL session store on the wiki, but it seems overly
-> complex, storing the user ID and remote IP and encompassing several
-> modules.    I want something simple and reliable, not something fancy and
-> maybe less reliable.  For the same reason I'm not interested in the
-> SQLObject versions.

Disclaimer: I'm the author of it.  I don't intend to be defensive,
BUT here are my thoughts...

I don't think you're going to find something simpler.  Everything but
the user ID is part of the Quixote session object, if I remember
correctly; you need to persist it in order to have sessions work
properly.  (You can discard the user ID stuff pretty easily.) Let me
know if you find out differently ;).

It's also demonstrably reliable, in the sense of being in several
deployed environments for well over a year now.  I think several other
people are using it, too; no bugs have been reported.

The only module you really need is the session.py file.  The db stuff
is only used for the user mapping.

cheers,
--titus

reply