intermediatetermWeb foundationsWeb foundations / Backend and APIs / Optimistic Locking
IntermediateNot yet reviewed

Optimistic Locking

A concurrency control method that assumes multiple transactions can complete without affecting each other, verifying record version before write.

Definition

A concurrency control method that assumes multiple transactions can complete without affecting each other, verifying record version before write.

Use case

Using a version column on records to reject edits if another user updated the document while it was open.

Related terms

Articles

Suggest a change