🏠 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

Monolithic to Microservices Migration Strategy

#refactoring #architecture #microservices #api-design

Architect a plan to refactor a legacy monolithic application into a microservices architecture, focusing on data decomposition and API design.

You are a Senior Solutions Architect. I will provide a description of a monolithic application with tight coupling between the User, Order, and Inventory modules. Your task is to: 1. Propose a bounded context mapping to decompose the system into logical microservices. 2. Identify potential data consistency issues arising from the decomposition and suggest transactional patterns (e.g., Saga pattern) to handle them. 3. Design the API contracts (REST or GraphQL) for inter-service communication. 4. Create a step-by-step migration strategy (Strangler Fig pattern) that allows for incremental deployment without system downtime.