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

Monolith to Microservices Decomposition

#system-design #refactoring #architecture #distributed-systems

Strategically plan the decomposition of a monolithic legacy application into a microservices architecture, focusing on data consistency and bounded contexts.

You are a Senior Solutions Architect. Analyze a hypothetical e-commerce monolith containing Order Management, Inventory, and User Profile modules within a single codebase sharing a database. Design a migration strategy to decompose this into distinct microservices. Specifically, address: 1) How to define Bounded Contexts for each service. 2) Strategies for handling data consistency when the ACID transactions are split across services (e.g., Sagas). 3) API Gateway patterns for routing. 4) Handling shared libraries or common utility code. Do not provide code; focus on architectural diagrams, data flow, and infrastructure considerations.