Microservices with API façade
- Problem
- Legacy cores and tightly coupled modules cannot absorb independent release cadence without breaking consumers.
- Architecture
- Strangler-fig extraction behind a stable API façade; new Spring Boot services own clear capability boundaries while traffic shifts slice by slice.
- Components
-
- API façade / BFF
- Extracted domain services
- Shared identity & policy
- Per-service data stores
- Observability sidecars / agents
- Data flow
- Clients hit the façade; routing sends migrated paths to new services and legacy paths to the core until cut-over completes.
- Security
- mTLS or gateway TLS, RBAC at the edge, least-privilege service identity — same trust-boundary habits as the financial platform write-up.
- Scaling
- Scale extracted services independently; keep legacy load manageable by shifting high-churn slices first.
- Trade-offs
- Façade complexity and dual-run cost versus big-bang rewrite risk. Boundaries that still share transactions are not ready to split.