VIP 👤
🏠 Beranda
Benchmark
📊 Semua Benchmark 🦖 Dinosaurus v1 🦖 Dinosaurus v2 ✅ Aplikasi To-Do List 🎨 Halaman Bebas Kreatif 🎯 FSACB - Showcase Utama 🌍 Benchmark Terjemahan
Model
🏆 Top 10 Model 🆓 Model Gratis 📋 Semua Model ⚙️ Kilo Code
Sumber Daya
💬 Perpustakaan Prompt 📖 Glosarium AI 🔗 Tautan Berguna 🔌 API & Router AI
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.