VIP 👤
🏠 Strona Główna
Benchmarki
📊 Wszystkie benchmarki 🦖 Dinozaur v1 🦖 Dinozaur v2 ✅ Aplikacje To-Do List 🎨 Kreatywne wolne strony 🎯 FSACB - Ostateczny pokaz 🌍 Benchmark tłumaczeń
Modele
🏆 Top 10 modeli 🆓 Darmowe modele 📋 Wszystkie modele ⚙️ Kilo Code
Zasoby
💬 Biblioteka promptów 📖 Słownik AI 🔗 Przydatne linki 🔌 API i routery 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.