dbm concurrency
Clemens Hermann
haribeau at gmx.de
Wed Apr 23 10:23:22 EDT 2003
Hi,
I want to use a standard unix dbm database to store user->regexp
combinations for squid ACLs. The dbm is written from a python cgi and
it is assured that only one write-access at a time occurs.
On the other side the same dbm is accessed read-only from a
C-programm. There may be many concurrent read-only accessess and also
requests for read-access while python writes to the dbm.
Might this be a problem when the C-program requests read-only access
while python is writing to the dbm or vice versa? If so, how can this
be solved?
thanks in advance for any hint,
/ch
More information about the Python-list
mailing list