Skip to main content

Book Exercise Lanes

This generated surface maps a learner-facing curriculum unit to its canonical source routes.

Curriculum surface

  • Open learner-facing unit
  • Curriculum path: content/curriculum/architecture/semester-06-databases-distributed/module-03-replication-partitioning/exercises.md
  • App: architecture
  • Semester: semester-06-databases-distributed
  • Module: module-03-replication-partitioning
  • Unit kind: exercise
  • Curation level: module_curated

Learning objectives

  • Explain Book Exercise Lanes in terms of topology, failure handling, and scaling tradeoffs instead of feature lists.
  • Use Book Exercise Lanes to predict what breaks or changes when data is copied, partitioned, or rebalanced across nodes.
  • Use database-internals, database-system-concepts, ddia, distributed-systems-concepts-and-design to connect the learner page to lag, routing, quorums, hotspots, and operational reality.

Prerequisites

  • Comfort with storage-engine basics, indexing, and single-node database tradeoffs from the earlier modules.

Source books

  • database-internals
  • database-system-concepts
  • ddia
  • distributed-systems-concepts-and-design

Source routes

Database Internals

Database System Concepts

Ddia

  • /books/ddia via DDIA: Partitioning secondary indexes by document
  • /books/ddia/chapter-05-replication via DDIA: Chapter 5 Replication, DDIA: Detecting concurrent writes (part 1), DDIA: Handling write conflicts, DDIA: Implementation of replication logs, DDIA: Limitations of quorum consistency, DDIA: Monotonic reads, DDIA: Multi-leader replication topologies, DDIA: Problems with replication lag, DDIA: Setting up new followers, DDIA: Sloppy quorums and hinted handoff, DDIA: Synchronous versus asynchronous replication, DDIA: Use cases for multi-leader replication, DDIA: Writing to the database when a node is down
  • /books/ddia/chapter-06-partitioning via DDIA: Chapter 6 Partitioning, DDIA: Operations: automatic or manual rebalancing, DDIA: Partitioning by hash of key, DDIA: Partitioning by key range, DDIA: Partitioning secondary indexes by term, DDIA: Skewed workloads and relieving hot spots, DDIA: Strategies for rebalancing
  • /books/ddia/chapter-08-the-trouble-with-distributed-systems via DDIA: Process pauses (part 1), DDIA: The truth is defined by the majority
  • /books/ddia/chapter-09-consistency-and-consensus via DDIA: Implementing linearizable systems, DDIA: Membership and coordination services, DDIA: Ordering and causality (part 1), DDIA: The cost of linearizability
  • /books/ddia/chapter-11-stream-processing via DDIA: Change data capture

Distributed Systems Concepts And Design

Supporting curriculum routes

No supporting curriculum routes linked yet.

External enrichment

  • PostgreSQL Documentation: Replication (official_docs_companion) - Useful when the learner needs an implementation-backed view of leader/follower replication and lag-related tradeoffs.
  • Jepsen Analyses (optional_deep_dive) - Provides concrete failure stories that sharpen the learner’s understanding of replication and partitioning tradeoffs.

AI companion modes

  • Explain simply
  • Socratic tutor
  • Challenge my understanding
  • Diagnose my confusion
  • Connect forward / backward

Source-of-truth note

This teaching unit is learner-facing guidance assembled from multiple canonical book routes. Use the listed source books as the primary conceptual spine for Book Exercise Lanes, and treat outside material as supporting enrichment only.