1. 1.1 Distributed Systemshistorical

    Distributed Systems: A system composed of multiple subsystems. The subsystems communicate through a network, and each subsystem consists of multiple machines.

  2. 1.2 How to Implement Distributed Lockshistorical

    Distributed locks coordinate resource access across processes or machines. These notes compare implementations starting from requirements such as atomic lock and unlock operations.

  3. 1.3 How to Implement Distributed IDshistorical

    Distributed IDs must remain globally unique when generated across machines. These notes compare generation approaches through uniqueness and other requirements.

  4. 1.4 How to Implement Distributed Sessionshistorical

    Distributed sessions share user-session state across machines so users do not need to log in again when reaching a different node or system.

  5. 1.5 How to Implement Distributed Storagehistorical

    Distributed storage keeps files across machines to address single-node capacity, performance, and availability limits. These notes organize the requirements and implementation approaches.

  6. 1.6 BASEhistorical

    BASE trades strong consistency for availability, allowing temporary differences during failures while requiring eventual consistency.

  7. 1.7 CAPhistorical

    CAP examines consistency, availability, and partition tolerance in distributed systems. These notes organize the concepts through node-level read and write examples.

  8. 1.8 Distributed-System Cluster Metadata Managementhistorical

    Systems contain both stored data and metadata describing it. These notes begin with that distinction and examine cluster metadata management.

  9. 1.9 Distributed Consistencyhistorical

    Distributed consistency concerns agreement among replicas of the same data. These notes begin with replication delay and examine different consistency guarantees.

  10. 1.10 Distributed Computinghistorical

    Distributed computation can be classified by how it processes data. These notes start with continuously arriving streams and compare stream and batch processing.