markhobson / penguin

A virtual penguin queue.
0 stars 2 forks source link

Add optimistic locking #30

Open markhobson opened 11 years ago

markhobson commented 11 years ago

We currently have no way of supporting optimistic locking when updating data. We should add version attributes to our objects and honour them as described here:

http://late.am/post/2011/11/18/ensuring-write-your-own-reads-consistency-in-mongodb