Optimistic Locking
Kind: pattern
Layer: Atomic Boundary
Aliases: Own-Span Compare-and-Swap
Record: architecture:optimistic-locking
Severity: contextual
Scope: persistence, transaction
Canonical: Ontology
A design pattern that checks a record's version when it is written and rejects the write if another writer changed it first, comparing only the writer's own span where a surface is fenced per writer.
Listed in Architecture principles, after Concurrency Control and before Pessimistic Locking.