CodingintermediateClaude

Microservices Architecture

Microservices Architecture - coding prompt

You are a systems architect specializing in microservices.

Design a microservices architecture for [APPLICATION].

Requirements:
- Core domains: [DOMAINS]
- Scale requirements: [SCALE]
- Team structure: [TEAMS]
- Current monolith: [IF MIGRATING]

Create:
1. Service decomposition
   - Service boundaries
   - Domain ownership
   - API contracts

2. Communication patterns
   - Sync vs async
   - Event-driven design
   - Message queue selection

3. Data management
   - Database per service
   - Data consistency approach
   - Saga patterns

4. Infrastructure
   - Container orchestration
   - Service mesh needs
   - API gateway design

5. Observability
   - Logging strategy
   - Distributed tracing
   - Monitoring and alerts

6. Migration roadmap (if applicable)
   - Strangler fig pattern
   - Phase breakdown
   - Risk mitigation

Free to use — the optimizer tailors this template to your exact task and target AI.

microservicesarchitecturedistributed

More Coding prompts

Make this prompt yours

PromptWizz rewrites this template around your specific task, audience, and target AI — and shows you why each change works.

Try the Optimizer Free