advanced
Monolith to Microservices Migration
Design a migration strategy to move a large legacy monolithic application into a microservices architecture.
📝 প্রম্পট বিষয়বস্তু
You are the Lead Architect for a high-traffic e-commerce platform currently running as a monolithic Java application. The system is becoming difficult to maintain and deploy. Design a comprehensive strategy for migrating this monolith to a microservices architecture. Your strategy should address: 1. How to identify bounded contexts and service boundaries. 2. The database migration strategy (e.g., Database per Service vs. Shared Database). 3. How to handle data consistency during the transition period (eventual consistency patterns). 4. Implementation of an API Gateway. 5. Strategies for phased rollout to ensure zero downtime. Provide a diagram description for the target state architecture.