P
AdvancedClaude

Design a microservices architecture for an application

Guide 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 the critical constraints (load, budget, team) that influence architectural choices. The request for pitfalls to avoid forces the AI to anticipate common errors. The ASCII diagram anchors the response in something concrete and visualizable.

Use Cases

Migrate a monolith to microservicesStart a new high-volume SaaS projectPrepare an architecture for a technical audit

Expected Output

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