Decomposition Strategies
Decompose, by, BUSINESS, CAPABILITY — EK, service, EK, SPECIFIC, BUSINESS, FUNCTION, (jaise, "order, management") ko, REPRESENT, karti, hai. Decompose, by, SUBDOMAIN — DDD, ke, subdomains, (Core, Supporting, Generic) se, ALIGN, karte, hain.
"Strangler, Fig" PATTERN, EK, GRADUAL, MIGRATION, STRATEGY, hai — EK, monolith, ko, EK, saath, POORI, tarah, REWRITE, karne, ki, JAGAH, EK-EK, karke, FEATURES, ko, NAYI, microservices, mein, MOVE, kiya, jaata hai, JABKI, MONOLITH, ABHI, bhi, BAAKI, functionality, HANDLE, karta rehta hai.
// Strangler fig — gradual migration:
// Step 1: Route "orders" traffic to new order-service, BAAKI, sab, monolith, se
// Step 2: Route "inventory" traffic to new inventory-service
// Step 3: Monolith, EVENTUALLY, empty, ho, jaata, hai- Decompose, by, business, capability, YA, subdomain (DDD)
- Strangler fig, pattern = gradual, migration, EK, saath, rewrite, karne, ke, BAJAYE
- Monolith, ABHI, bhi, chalti, RAHTI, hai, jab, tak, SAARI, features, migrate, na, ho, jaayein
Ek, ALTERNATIVE, strategy, hai, "decompose, by, transaction" — services, ko, ISKE, hisaab, se, GROUP, karna, ki, KAUN, si, operations, EK, saath, HAPPEN, hoti, hain, distributed, transactions, ki, ZAROORAT, ko, MINIMIZE, karne, ke, liye.
Ek, monolith, ko, decompose, karne, se, PEHLE, "seams" (natural, boundaries) identify, karna, IMPORTANT, hai — jaise, MODULES, jinke, BEECH, MINIMAL, coupling, hai, YA, jinme, ALAG, TEAMS, kaam, karti, hain, WOH, ACHHE, split, points, HOTE, HAIN.