🏠 Home
Benchmark Hub
📊 All Benchmarks 🦖 Dinosaur v1 🦖 Dinosaur v2 ✅ To-Do List Applications 🎨 Creative Free Pages 🎯 FSACB - Ultimate Showcase 🌍 Translation Benchmark
Models
🏆 Top 10 Models 🆓 Free Models 📋 All Models ⚙️ Kilo Code
Resources
💬 Prompts Library 📖 AI Glossary 🔗 Useful Links
Advanced

Legacy System Refactoring

#architecture #refactoring #microservices #design-patterns

Architect a comprehensive strategy for refactoring a monolithic codebase into microservices.

Analyze the following pseudocode representing a monolithic legacy system. Identify specific code smells, tight couplings, and scalability bottlenecks. Propose a step-by-step migration strategy to transition this architecture into a set of loosely coupled microservices. For each step, justify the trade-offs regarding latency, consistency, and eventual availability. Include patterns such as Strangler Fig, Circuit Breaker, and CQRS where appropriate.