May 1, 2024
Updated November 14, 2026
30 minute read
Concurrency control, at its core, is about managing simultaneous operations in a computing environment to ensure that they occur without interfering with each other and leading to incorrect results. Imagine multiple users trying to access and modify the same piece of data in a database at the exact same moment; without a system to manage these interactions, chaos could ensue, leading to corrupted data or inaccurate information. Concurrency control provides the mechanisms to prevent such issues, making it a fundamental concept in database management systems (DBMS) and other multi-user systems. Its primary goal is to allow multiple transactions to proceed concurrently while maintaining the integrity and consistency of the data.
957z6f|
Find a path to becoming a Concurrency Control. Learn more at:
OpenCourser.com/topic/957z6f/concurrency
Reading list
We've selected 16 books
that we think will supplement your
learning. Use these to
develop background knowledge, enrich your coursework, and gain a
deeper understanding of the topics covered in
Concurrency Control.
Serving as the foundational bible of serializability theory and concurrency control algorithms, Bernstein, Hadzilacos, and Goodman formally prove the correctness of Two-Phase Locking (2PL), timestamp ordering, multiversion concurrency control (MVCC), and distributed atomic commitment.
Turing Award laureate Jim Gray and Andreas Reuter deliver the definitive engineering treatise on ACID transactions, lock manager internals, multigranularity intention locks, deadlock detection, phantom protection via key-range locking, and ANSI SQL isolation anomalies.
Bridging formal schedule serializability graphs with industrial systems engineering, Gerhard Weikum and Gottfried Vossen analyze conflict and view serializability, optimistic validation protocols, snapshot isolation, and multi-level object transactions.
Distilling complex concurrency control and distributed transaction mechanics into an accessible architectural guide, Philip Bernstein and Eric Newcomer explain two-phase locking, optimistic concurrency, two-phase commit, and queue-based transactional middleware.
Comparing pessimistic lock managers, optimistic concurrency control (OCC), and multiversion concurrency control (MVCC) alongside distributed consensus, Alex Petrov illustrates how modern local and distributed storage engines coordinate concurrent reads and writes.
Demystifying weak isolation levels and concurrency bugs in chapters 7 and 9, Martin Kleppmann provides crystal-clear diagrams of dirty reads, read skew, lost updates, write skew, phantom reads, and Serializable Snapshot Isolation (SSI).
Examining shared-memory concurrency control from spinlocks and fine-grained hand-over-hand locking to wait-free data structures and software/hardware transactional memory, Herlihy, Shavit, Luchangco, and Spear formalize linearizability and progress guarantees.
Offering an approachable undergraduate introduction to transaction schedules, precedence graph testing for conflict serializability, Thomas's write rule in timestamp ordering, and two-phase locking variants, Elmasri and Navathe anchor core database coursework.
Adapting database optimistic and pessimistic concurrency control principles to in-memory multicore programming, Tim Harris, James Larus, and Ravi Rajwar survey conflict detection granularity, eager versus lazy version management, and hardware transactional memory.
Contrasting shared-memory mutex synchronization against Communicating Sequential Processes (CSP) channels, Katherine Cox-Buday equips systems programmers with practical patterns to prevent deadlocks, livelocks, race conditions, and resource starvation.
Mastering application-level concurrency control requires understanding memory visibility, monitor locks, atomic compare-and-swap variables, and lock-Ordering deadlock avoidance, all rigorously detailed by Brian Goetz and the Java concurrency specification team.
Examines multi-version concurrency control (MVCC) and transaction isolation in a production relational engine, detailing PostgreSQL 17 row-level locking, snapshot visibility, deadlock detection, and vacuuming mechanics under heavy write contention.
Descending to the CPU instruction and memory-ordering level of concurrency control, Rust library lead Mara Bos shows how acquire-release semantics, sequential consistency, futexes, and reader-writer locks are built from hardware atomic primitives.
Updates shared-memory concurrency for modern runtimes, contrasting classic OS thread locking with Java virtual threads, structured concurrency, atomic primitives, and non-blocking synchronization patterns for high-throughput services.
Covering lock-based protocols, graph-based locking, validation-based optimistic schemes, and multiversion two-phase locking alongside main-memory database concurrency, Silberschatz, Korth, and Sudarshan provide clear worked examples and exercises.
Viewing lock contention, retry storms, and queue thrashing through the lens of feedback loops, delays, and bounded rationality gives distributed systems engineers a broader mental model for why concurrent resource contention spirals into cascading failures.
For more information about how these books relate to this course, visit:
OpenCourser.com/topic/957z6f/concurrency