Software Engineering Architecture Lab

Database per Service Pattern

Each service owns its data; others go through its API. A microservices pattern in the Microservice & Architecture Patterns catalog. With Java/Spring code.

Each service owns its data; others go through its API.

Family
Microservice & Architecture Patterns
Category
Microservices
Source
Building Microservices · Software Architecture · DDD

More microservices patterns

  • API Gateway — One entry point that routes, authenticates and shapes client traffic.
  • Backends for Frontends — A dedicated backend per client type (web, mobile, partner).
  • Strangler Fig — Replace a legacy system piece by piece behind a routing layer.
  • Anti-Corruption Layer — Translate another model so it does not leak into yours.
  • Sidecar — Run cross-cutting infrastructure next to each service instance.

All patterns