Application-layer versus persistence-layer optimistic locking

Alexander Alemayhu alexander at alemayhu.com
Thu Mar 30 12:32:46 CEST 2017


On Tue, Mar 28, 2017 at 01:40:24PM +0200, Thomas Sødring wrote:
> 
> I am working on achieving optimistic locking to avoid concurrency / lost
> update issues in the core. Basically A and B retrieve the same entity. A
> updates the entity, and a few moments later so does B. B however is
> missing the update by A.
>
Probably unrelated, but this reminds of a paper by Leslie Lamport[0] I read
some months ago.

[0]: Time, clocks, and the ordering of events in a distributed system 
http://amturing.acm.org/p558-lamport.pdf

-- 
Mit freundlichen Grüßen

Alexander Alemayhu


More information about the nikita-noark mailing list