strangler-fig पैटर्न वर्तमान में माइग्रेट करता है: आप monolith को routing layer से लपेटते हैं, एक समय में एक क्षमता को सेवा में निकालते हैं, और ट्रैफिक को इसकी ओर पुनः निर्देशित करते हैं — जब तक monolith "दबा" न दिया जाए। कोई big-bang rewrite नहीं है।
यह कैसे काम करता है
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
