Skip to main content

Database-Per-Service and the Shared-DB Temptation

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

Curriculum surface

  • Open learner-facing unit
  • Curriculum path: content/curriculum/production/semester-08-system-design-leadership/module-02-microservices-service-decomposition/concepts/cluster-03-data-ownership-contracts/07-database-per-service-and-the-shared-db-temptation-primary.md
  • App: production
  • Semester: semester-08-system-design-leadership
  • Module: module-02-microservices-service-decomposition
  • Unit kind: concept
  • Curation level: module_curated

Learning objectives

  • Explain Database-Per-Service and the Shared-DB Temptation as a boundary and coordination problem, not a default move toward more services.
  • Use Database-Per-Service and the Shared-DB Temptation to reason about coupling, ownership, deployment cost, and operational complexity in a real organization.
  • Use fundamentals-of-software-architecture, system-design-primer to connect the learner page to decomposition strategies, data ownership, and service collaboration tradeoffs.

Prerequisites

  • Comfort with structured system-design thinking and the cost of architectural boundaries from module 01.

Source books

  • fundamentals-of-software-architecture
  • system-design-primer

Source routes

Fundamentals Of Software Architecture

System Design Primer

  • /books/system-design-primer via Primer: CAP Theorem, Primer: Consistency Patterns, Primer: Database Federation and Sharding, Primer: RDBMS and Replication, Primer: SQL or NoSQL

Supporting curriculum routes

No supporting curriculum routes linked yet.

External enrichment

  • Martin Fowler: Microservices (read_if_stuck) - Useful for grounding service decomposition in concrete characteristics and tradeoffs instead of hype.
  • microservices.io: Service Decomposition (official_docs_companion) - Provides practical decomposition patterns and failure modes that connect directly to ownership and boundary decisions.

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 Database-Per-Service and the Shared-DB Temptation, and treat outside material as supporting enrichment only.