VIP 👤
🏠 Trang chủ
Benchmark
📊 Tất cả benchmark 🦖 Khủng long v1 🦖 Khủng long v2 ✅ Ứng dụng To-Do List 🎨 Trang tự do sáng tạo 🎯 FSACB - Trình diễn cuối cùng 🌍 Benchmark dịch thuật
Mô hình
🏆 Top 10 mô hình 🆓 Mô hình miễn phí 📋 Tất cả mô hình ⚙️ Kilo Code
Tài nguyên
💬 Thư viện prompt 📖 Thuật ngữ AI 🔗 Liên kết hữu ích 🔌 API và bộ định tuyến AI
Advanced

Monolith to Microservices Migration

#software #architecture #microservices #devops

Design a complex migration strategy for a legacy software system.

Act as a Senior Solutions Architect. You have been tasked with migrating a 10-year-old monolithic e-commerce platform (written in Java using a monolithic SQL database) to a microservices architecture. The system cannot tolerate more than 5 minutes of downtime. Draft a comprehensive migration plan that includes: 1) A strategy for database decomposition (shared database vs. database per service), 2) The use of the Strangler Fig pattern to incrementally replace functionality, 3) Handling session management across distributed services, and 4) A rollback strategy in case of critical failure during the transition. Explain the trade-offs involved in each decision.