Advanced
Monolith to Microservices Transition
Refactor a hypothetical legacy monolithic codebase into a modular microservices architecture.
📝 提示内容
You are a Lead Software Engineer presented with a 10-year-old monolithic e-commerce application written in Java (Spring Boot) that has become unmanageable. The code base suffers from 'God Object' antipatterns and circular dependencies. Outline a step-by-step strangler fig pattern strategy to migrate this monolith to a microservices architecture. Specifically, identify the first module to extract, define the API boundaries, explain how to handle shared data access during the transition, and propose a strategy for maintaining data consistency without distributed transactions initially.