🏠 Accueil
基準測試
📊 Tous les Benchmarks 🦖 Dinosaure v1 🦖 Dinosaure v2 ✅ To-Do List Apps 🎨 Pages Libres 🎯 FSACB - Showcase 🌍 Traduction
Modèles
🏆 Top 10 Modèles 🆓 Modèles Gratuits 📋 Tous les Modèles ⚙️ Modes Kilo Code
Ressources
💬 Prompts IA 📖 人工智能詞彙表 🔗 Liens Utiles
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.