Muundo wa strangler-fig hufanya uhamiaji wa taratibu: unabandika monolith na safu ya uelekezaji, kuchimba uwezo mmoja kwa wakati ndani ya huduma, na kuelekezea trafiki kwake — hadi monolith "inapooza". Hakuna uandishi mkubwa wa haraka.
Jinsi inavyofanya kazi
Step 1: route all traffic through a facade/proxy to the monolith
Step 2: extract ONE capability → new service
Step 3: route just that path to the new service
Step 4: repeat; delete that code from the monolith
Client ─▶ [ Proxy ] ─┬─▶ /orders ─▶ NEW Orders service
└─▶ everything else ─▶ Monolith
