🏠 ホーム
ベンチマーク
📊 すべてのベンチマーク 🦖 恐竜 v1 🦖 恐竜 v2 ✅ To-Doリストアプリ 🎨 クリエイティブフリーページ 🎯 FSACB - アルティメットショーケース 🌍 翻訳ベンチマーク
モデル
🏆 トップ10モデル 🆓 無料モデル 📋 すべてのモデル ⚙️ 🛠️ Kilo Code モード
リソース
💬 💬 プロンプトライブラリ 📖 📖 AI用語集 🔗 🔗 有用なリンク
advanced

Refactor Monolithic Architecture to Microservices

#software-architecture #refactoring #system-design

Analyze a legacy monolithic codebase description and propose a detailed migration strategy to microservices, focusing on data decomposition and communication patterns.

You are a Solutions Architect tasked with refactoring a legacy e-commerce monolith written in Java. The application handles user management, inventory, order processing, and payment gateway integration within a single deployable unit. The database is a massive SQL schema with heavily normalized tables causing locking issues during high traffic. Your task is to provide a comprehensive migration plan: 1. Identify the bounded contexts and propose how to split the database per service. 2. Define the interservice communication strategy (synchronous vs. asynchronous) for updating inventory when an order is placed. 3. Explain how you will handle data consistency and distributed transactions across the new services. 4. Propose a strategy for implementing API gateways and service discovery.