Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^5: Multiple write locking for BerkeleyDB

by perrin (Chancellor)
on Apr 23, 2008 at 20:00 UTC ( [id://682479]=note: print w/replies, xml ) Need Help??


in reply to Re^4: Multiple write locking for BerkeleyDB
in thread Multiple write locking for BerkeleyDB

You're saying you want to get an exclusive lock before you start your read and hold it until you finish the update? That will require some lower level access. BerkeleyDB can do it, but I think you'll have to use the more complex approach and run a deadlock daemon, and I don't have sample code for it. This is trivial with MySQL, so it might be easier to give that another try.
  • Comment on Re^5: Multiple write locking for BerkeleyDB

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://682479]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (6)
As of 2024-04-25 10:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found