🏠 首页
基准测试
📊 所有基准测试 🦖 恐龙 v1 🦖 恐龙 v2 ✅ 待办事项应用 🎨 创意自由页面 🎯 FSACB - 终极展示 🌍 翻译基准测试
模型
🏆 前 10 名模型 🆓 免费模型 📋 所有模型 ⚙️ 🛠️ 千行代码模式
资源
💬 💬 提示库 📖 📖 AI 词汇表 🔗 🔗 有用链接
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.