🏠 Inicio
Pruebas de rendimiento
📊 Todos los benchmarks 🦖 Dinosaurio v1 🦖 Dinosaurio v2 ✅ Aplicaciones To-Do List 🎨 Páginas libres creativas 🎯 FSACB - Showcase definitivo 🌍 Benchmark de traducción
Modelos
🏆 Top 10 modelos 🆓 Modelos gratuitos 📋 Todos los modelos ⚙️ Kilo Code
Recursos
💬 Biblioteca de prompts 📖 Glosario de IA 🔗 Enlaces útiles
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.