durusmail: quixote-users: Session Management and Multiple Processes
Session Management and Multiple Processes
2004-06-02
2004-06-02
2004-06-02
2004-06-02
2004-06-02
Session Management and Multiple Processes
Tom Jenkins
2004-06-02
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jeff Rush wrote:
|
| Can someone point me to a Quixote-friendly technology that is a
| just-add-water quick'n'easy session manager.  Quixote looked so simple
| so I must be missing something as sessions aren't that exotic of a
| requirement.
|

sessions aren't exotic but scgi uses separate process and sharing data
between processes is not quick'n'easy .  it seems most people here
either use a rdbms or the zodb and so use a sql based or zodb based
session manager.  but that doesn't mean there aren't other options...

something i've been meaning to try is remoteD:
http://sourceforge.net/project/showfiles.php?group_id=90707
http://remoted.sourceforge.net/docs.php
This basically starts a server that exposes a dict-like interface
allowing multiple processes to share a dictionary.

also there is a threaded publisher i believe on the wiki.  with the
threaded publisher each worker would be able to share a single session
manager.

another option possibly is Pyro
http://pyro.sourceforge.net/index.html

a google search on python & ipc came up with this hit that i didn't know
about: Python Object Sharing, or POSH for short
http://poshmodule.sourceforge.net/


if you want to get down and dirty:

Python-IPC
http://www.xs4all.nl/~walterj//python-ipc/

PyIPC
http://www.theory.org/~mac4/software/

hmmmm... there looks to be some serious options here for a solution or
two that can be added to the wiki.

- --
Tom Jenkins
devIS - Development Infostructure
http://www.devis.com

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0-nr2 (Windows XP)
Comment: Using GnuPG with MultiZilla - http://enigmail.mozdev.org

iD8DBQFAvf4qV7Yk9/McDYURAtwfAJ9RJ9oQ2s3xmu4RAN9WpEMJy49+FACfSM3d
6Lk1jHK/RPDWUy/yrpF3L4M=
=c5KX
-----END PGP SIGNATURE-----


reply