System Design · Sub-topic

Data & consistency

Locking, isolation and consistency across instances.

  1. Guide

    Concurrency Control in Distributed Systems

    Why local locks stop working the moment you scale past one instance, and how optimistic and pessimistic concurrency control pick up the slack — with isolation levels, lock types, and working Spring/JPA code.

    ~14 min read · Intermediate · 5 diagrams

More in System Design