News for hackers. Stuff that matters.
Re:Ask YC: How do you handle locking in your app? by chaostheory on Monday October 15, 2007 @10:20AM (#68037)
someone can correct me but most of the time optimistic locking is ideal (since for most apps, the same data typically has a low chance of being updated by different people). Anyways we use that in addition to transactions

pessimistic locking in general is really tricky

http://www.ibm.com/developerworks/websphere/techjournal/0603...

I forgot to add that if you're using a good framework, it typically already has a built-in mechanism for optimistic locking

There are no comments on this comment yet.