Pessimistic Locking

Kind: pattern

Layer: Atomic Boundary

Record: architecture:pessimistic-locking

Severity: contextual

Scope: persistence, critical section

Canonical: Ontology

A design pattern that locks a record before reading it for update, so other writers wait until the transaction ends.

Listed in Architecture principles, after Optimistic Locking and before State Isolation.

Requires

Reinforces

Enables

In tension with

Tensions

Violated by

Refactored by

Severity

Category

Refactors

Linked from