chatgpt Prompts
CodingChatGPT
Legacy Monolith to Modular Microservices Migration Architect
Transforms outdated monolithic codebases into scalable, domain-driven microservices with robust migration patterns.
The Prompt
Act as an Enterprise Enterprise Software Architect specializing in legacy modernization. Analyze the following monolithic code module: [module_description]. The current tech stack is [current_tech_stack] and the target architecture is [target_microservices_framework]. Your task is to: 1. Identify domain boundaries and suggest an optimal domain-driven design (DDD) slice. 2. Provide a step-by-step refactoring and strangler fig pattern migration strategy. 3. Generate production-ready, idiomatic boilerplate code for the new decoupled microservice, including API contracts (OpenAPI/Swagger format), database separation strategy, and inter-service communication patterns (gRPC or asynchronous messaging). 4. Highlight potential data consistency challenges (e.g., distributed transactions) and propose Saga pattern implementations where necessary.
Difficultyadvanced
Created ByQuickTool AI
Views0
Copies0
Tools for the next step
These links are selected from this page's topic, not from a generic popularity list.
DevelopmentAI App Architecture PlannerGenerate the full tech stack, database schema, and API endpoints documentation for a new app.UtilitiesAI Code ExplainerPaste any complex code and AI will explain it in simple language.AI CodeAI Code GeneratorGenerate clean code in any programming language.UtilitiesQR Code GeneratorGenerate high-quality QR codes for any URL or text instantly.