The strangler-fig pattern yana aiwatar da ƙaura da sannu: ka damje monolith da routing layer, ki tuɓar ɗaya ɗaya sannu a cikin service, ki tuɓi traffic zuwa gida — har sai monolith ya "shantshere". Babu big-bang rewrite jiya.
Yadda ya aiki
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
