Does ZODB provide safe locking across mutiple-processes?

Erno Kuusela erno-news at erno.iki.fi
Wed Jan 16 06:11:31 EST 2002


In article <5699ebda.0201160049.7c7f3daf at posting.google.com>,
juneaftn at orgio.net (June Kim) writes:


| I wonder if it guarantees "many readers or one writer" style
| exclusive/shared locking -- that is, is it safe to open the same DB in
| read_only mode and to open it in writable mode again, as ZODB allows?

no, the locking is only there to prevent accidental corruption
of the database. if you want to access it from multiple processes,
you can use ZEO.

  -- erno



More information about the Python-list mailing list