🏠 Trang chủ
Benchmark
📊 Tất cả benchmark 🦖 Khủng long v1 🦖 Khủng long v2 ✅ Ứng dụng To-Do List 🎨 Trang tự do sáng tạo 🎯 FSACB - Trình diễn cuối cùng 🌍 Benchmark dịch thuật
Mô hình
🏆 Top 10 mô hình 🆓 Mô hình miễn phí 📋 Tất cả mô hình ⚙️ Kilo Code
Tài nguyên
💬 Thư viện prompt 📖 Thuật ngữ AI 🔗 Liên kết hữu ích
Advanced

Architectural Refactoring of a Monolithic Codebase

#architecture #refactoring #microservices #design-patterns

Analyze a legacy monolithic system and propose a migration strategy to microservices.

You are a Senior Software Architect. A large e-commerce platform is suffering from a monolithic codebase where the product catalog, user management, and order processing are tightly coupled. Deployments take hours, and scaling individual components is impossible. Task: 1. Identify three specific code smells or architectural anti-patterns likely present in this scenario. 2. Propose a step-by-step refactoring plan to decouple these modules into separate microservices. 3. Address how you will handle data consistency and transaction management (e.g., Sagas) during the transition phase. 4. Explain how you would implement an API Gateway to route traffic appropriately.