sharing data between processes
holger krekel
pyth at devel.trillke.net
Sat Nov 30 07:05:37 EST 2002
Alex Polite wrote:
> I need to share data between processes running on the same
> machine. One way I can think of is to write a sql backend for my
> objects and then have the processes access the same db, but that seems
> like overkill for this small project.
indeed.
> Google tells me that maybe http://pybsddb.sourceforge.net/ could be
> used. Any other ideas, preferably something that's in the standard
> library? And don't tell me I should use ZODB or you'll come to regret
> it!
maybe you can check out
http://snafu.freedom.org/Vmaps/Vmaps.html
it doesn't allow you to share objects (unless you pickle them, i guess)
but provides support for sharing basic types. haven't used it myself
so far.
holger
More information about the Python-list
mailing list