VIP 👤
🏠 Home
Benchmark
📊 Tutti i benchmark 🦖 Dinosauro v1 🦖 Dinosauro v2 ✅ App To-Do List 🎨 Pagine libere creative 🎯 FSACB - Ultimate Showcase 🌍 Benchmark traduzione
Modelli
🏆 Top 10 modelli 🆓 Modelli gratuiti 📋 Tutti i modelli ⚙️ Kilo Code
Risorse
💬 Libreria di prompt 📖 Glossario IA 🔗 Link utili 🔌 API e router IA
advanced

Monolith to Microservices Refactoring Strategy

#system-design #microservices #refactoring #data-migration

Design a comprehensive strategy to refactor a legacy monolithic application into microservices, considering data consistency and migration.

Act as a Principal Software Architect. You have been given a 50,000-line monolithic Java application handling payments and user management. Your task is to outline a comprehensive strategy to break this monolith into microservices. Your response must include: 1) Identification of service boundaries (Bounded Contexts), 2) A data migration strategy ensuring zero downtime, 3) Selection of inter-service communication patterns (Synchronous vs Asynchronous), and 4) An approach to handling distributed transactions. Be specific about the technologies you would recommend for this transition and justify your choices based on the CAP theorem.