Optimistic Locking - CI/CD Glossary Definition
Optimistic locking assumes conflicts are rare: it reads a version or timestamp, does the work, and only at commit checks the row was not changed. If it was, the write fails and retries.
Related guides
Pessimistic Locking - CI/CD Glossary DefinitionPessimistic locking grabs a row or table lock before reading, blocking other writers. It prevents conflicts a…
Transaction Isolation - CI/CD Glossary DefinitionTransaction isolation defines how concurrent transactions see each other’s uncommitted work, from read-uncomm…
ACID - CI/CD Glossary DefinitionACID - atomicity, consistency, isolation, durability - are the four guarantees a transactional database makes…