🏠 Hem
Benchmarkar
📊 Alla benchmarkar 🦖 Dinosaur v1 🦖 Dinosaur v2 ✅ To-Do List-applikationer 🎨 Kreativa fria sidor 🎯 FSACB - Ultimata uppvisningen 🌍 Översättningsbenchmark
Modeller
🏆 Topp 10 modeller 🆓 Gratis modeller 📋 Alla modeller ⚙️ Kilo Code
Resurser
💬 Promptbibliotek 📖 AI-ordlista 🔗 Användbara länkar
Advanced

Architectural Refactoring of a Monolithic Codebase

#architecture #refactoring #microservices #design-patterns

Analyze a legacy monolithic system and propose a migration strategy to microservices.

You are a Senior Software Architect. A large e-commerce platform is suffering from a monolithic codebase where the product catalog, user management, and order processing are tightly coupled. Deployments take hours, and scaling individual components is impossible. Task: 1. Identify three specific code smells or architectural anti-patterns likely present in this scenario. 2. Propose a step-by-step refactoring plan to decouple these modules into separate microservices. 3. Address how you will handle data consistency and transaction management (e.g., Sagas) during the transition phase. 4. Explain how you would implement an API Gateway to route traffic appropriately.