Skip to content
Mermaid templates

Strangler Fig Migration

Gradually replace a legacy monolith by routing slices to new services.

Template previewMermaid
Rendering…

Make it your own.

flowchart LR
Client --> Proxy[Strangler proxy]
Proxy -- /auth --> NewAuth[New auth service]
Proxy -- /search --> NewSearch[New search]
Proxy -- /catalogue --> Mono[(Legacy monolith)]
Proxy -- /orders --> Mono
Proxy -- /payments --> Mono
NewAuth --> AuthDB[(Auth DB)]
NewSearch --> Idx[(Search index)]
Mono --> LegacyDB[(Legacy DB)]
style Mono fill:#fee2e2,stroke:#991b1b
style NewAuth fill:#dcfce7,stroke:#166534
style NewSearch fill:#dcfce7,stroke:#166534