Skip to content

Example 24: Monolith to Microservices (strangler fig) #21

Description

@patterncatalyst

Chapter

_docs/24-appendix-k-monolith-to-microservices.md — Monolith to Microservices

Example Path

examples/24-monolith-to-microservices/

What to demonstrate

  • Modular monolith as a destination
  • Strangler fig pattern: identify, move, redirect
  • Content-based routing for fine-grained cutover
  • Decorating collaborator for untouchable legacy

Stack

  • Infra: Minikube — Istio + Postgres + LGTM
  • Language: Python (FastAPI monolith + extracted services)
  • Priority: Medium

Deliverables

  • K8s manifests with Istio routing
  • Monolith service
  • Extracted microservice(s)
  • Strangler routing config
  • README.md
  • verify.sh
  • Flip chapter footer to verified

Metadata

Metadata

Assignees

No one assigned

    Labels

    exampleRunnable example implementationistioRequires Istio service meshminikube-stackExample uses minikube Kubernetes infrastructure

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions