chatgpt Prompts
CodingChatGPT
Architectural Microservices Refactoring & Circuit Breaker Integration
Transforms legacy monolithic code into a resilient, production-ready microservices architecture with advanced fault tolerance.
The Prompt
Act as a Principal Distributed Systems Architect. Analyze the provided monolithic or tightly-coupled codebase in [target_language] and design a robust migration strategy to a microservices architecture. Specifically, identify domain boundaries using Domain-Driven Design (DDD) principles, outline the API gateway routing, and implement a resilient Circuit Breaker pattern using [resilience_library] for all inter-service communications. Provide production-ready code snippets for the circuit breaker wrapper, handle cascading failure scenarios, and include a comprehensive docker-compose configuration for local testing. Existing Codebase Context: [codebase_context]
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.