Skip to main content

Optimistic Concurrency Control

Definition

Optimistic concurrency control is a method for managing simultaneous access to shared data in distributed systems, assuming that conflicts between operations are infrequent. Transactions proceed without explicit locking, and only at the point of committing are checks performed to detect any conflicts. If a conflict is found, the transaction is rolled back and retried. This approach aims to maximize parallelism when contention is low.