P
AdvancedClaude

Design a Microservices Architecture for an Application

Guides the design of a complete microservices architecture, from service decomposition to deployment strategy, adapted to project constraints.

Paste in your AI

Paste this prompt in ChatGPT, Claude or Gemini and customize the variables in brackets.

Tu es un architecte logiciel spécialisé en systèmes distribués. Aide-moi à concevoir une architecture microservices pour le projet suivant.

**Description du projet :**
[DESCRIPTION_PROJET]

**Contraintes techniques :**
- Charge attendue : [CHARGE_UTILISATEURS] utilisateurs simultanés
- Budget infrastructure : [BUDGET]
- Stack technique actuelle : [STACK_ACTUELLE]
- Équipe : [TAILLE_EQUIPE] développeurs

**Exigences métier clés :** [EXIGENCES_METIER]

Fournis :
1. Découpage en services (nom, responsabilité, frontières)
2. Stratégie de communication (REST, gRPC, événements, message broker)
3. Gestion des données (base par service, patterns CQRS/Event Sourcing si pertinents)
4. Authentification et autorisation inter-services
5. Observabilité (logs, métriques, tracing distribué)
6. Stratégie de déploiement (Docker, Kubernetes, cloud)
7. Pièges à éviter pour ce type de projet
8. Diagramme d'architecture en ASCII art ou description structurée

Why this prompt works

The prompt provides all critical constraints (load, budget, team) that influence architectural choices. Requesting pitfalls to avoid forces the AI to anticipate common mistakes. The ASCII diagram anchors the response in something concrete and visualizable.

Use Cases

Migrating a monolith to microservicesStarting a new high-volume SaaS projectPreparing an architecture for a technical audit

Expected Output

A detailed architecture with service list, communication and data strategies, security checklist, deployment plan and architecture diagram.

Learn more

Check the full skill on Prompt Guide to master this technique from A to Z.

View on Prompt Guide

📬 Get new prompts every week

Join our newsletter and never miss a prompt.