strangler-fig पॅटर्न हळुहळु स्थलांतर करते: तुम्ही मोनोलिथ ला रूटिंग लेयरने लपविते, एक वेळी एक क्षमता सेवेत काढते, आणि ट्रॅफिक त्याकडे वाहित करते — जोपर्यंत मोनोलिथ "गुदमरला" जात नाही. कोणतेही बिग-बँग रीराईट नाही.
हे कसे कार्य करते
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
