VIP 👤
🏠 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 🔌 API và bộ định tuyến 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.