VIP 👤
🏠 홈
벤치마크
📊 모든 벤치마크 🦖 공룡 v1 🦖 공룡 v2 ✅ 할 일 목록 앱 🎨 창의적인 자유 페이지 🎯 FSACB - 궁극의 쇼케이스 🌍 번역 벤치마크
모델
🏆 톱 10 모델 🆓 무료 모델 📋 모든 모델 ⚙️ 킬로 코드 모드
리소스
💬 프롬프트 라이브러리 📖 AI 용어 사전 🔗 유용한 링크 🔌 AI API 및 라우터
Advanced

Monolith to Microservices Migration

#refactoring #microservices #software-architecture #clean-code

Strategic refactoring of a legacy monolithic codebase into microservices.

You are tasked with migrating a 10-year-old monolithic e-commerce application written in Java (Spring MVC) to a microservices architecture. The monolith contains a tightly coupled inventory, payment, and user management module. Outline a step-by-step strangler fig pattern strategy for this migration. Specifically, explain how you would: 1) Identify bounded contexts for the new services. 2) Establish data synchronization patterns during the transition phase. 3) Handle distributed transactions to ensure data consistency between the old monolith and new services. 4) Implement API gateways to route traffic. Provide pseudo-code or architectural diagrams describing the interface segregation contracts.