in reply to Multiple write locking for BerkeleyDB
An alternative approach is to write a simple server which mediates access to the data store. Writers communicate with it via a pipe or socket. It would also allow you to implement complex atomic operations (like incrementing a value) without having to resort to locking.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Multiple write locking for BerkeleyDB
by dino (Sexton) on Apr 23, 2008 at 18:38 UTC |