Thread/Process-safety of functions in the Standard Library, eg the dbm classes
M.-A. Lemburg
mal at lemburg.com
Tue Apr 9 16:32:47 EDT 2002
Thomas Heller wrote:
>
> > Furthermore, do you have any suggestions for these requirements: I
> > want to be able to store some data (<100K), and access it from
> > multiple processes in a safe way. Currently I'm using mySQL with
> > mysqldb, which seems like heavy overkill for that amount of data.
> > Plus, I want users to use my program without having to first install
> > MySQL (or any other dbm for that matter).
> >
> > [A hardcore idea would be to make a "anydbm-server" that you can
> > communicate with using sockets ;]
>
> Sound like a job for Gadfly ;-)
> Gadfly includes a server which communicates via sockets with the
> backend, IIRC.
Or have a look at mxBeeBase (the beta which I announced on the
egenix-users mailing list, not the current release one (0.6.0)).
It uses locks for accessing the data files.
--
Marc-Andre Lemburg
________________________________________________________________________
Business: http://www.lemburg.com/
Python Pages: http://www.lemburg.com/python/
More information about the Python-list
mailing list