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

Domain-Driven Decomposition Strategy

#DDD #Microservices #Architecture

Analyze a monolithic e-commerce inventory system to propose a microservices decomposition strategy.

Act as a Senior Solutions Architect. You are presented with a legacy monolithic application handling e-commerce inventory, order processing, and user management. The goal is to refactor this into a microservices architecture using Domain-Driven Design (DDD) principles. 1. Identify the potential Bounded Contexts within this domain. 2. Propose a specific decomposition strategy, explaining how you would define the boundaries between services. 3. Address the data consistency challenges that will arise from splitting the database. Discuss how you would implement eventual consistency. 4. Provide a strategy for handling cross-cutting concerns such as logging, authentication, and configuration management in this new distributed environment. 5. Critique the risks associated with this decomposition, specifically regarding network latency and distributed transaction complexity.