🏠 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

Strategic Legacy Code Modernization

#refactoring #architecture #software-design

Develop a comprehensive plan to refactor a monolithic legacy codebase into a modular architecture without disrupting existing functionality.

You are a Senior Software Architect. Analyze a hypothetical monolithic codebase written in Java that handles payment processing. Identify three critical code smells and antipatterns likely present. Propose a step-by-step refactoring roadmap to migrate this system towards a microservices architecture. Your plan must include strategies for maintaining data consistency during the transition and specific design patterns to implement (e.g., Strangler Fig pattern). Justify your choices focusing on long-term maintainability and scalability.