Complete AI Training

Prompt · Software Engineers

Profile Microservices Performance

Use this when you need to analyze the performance of a microservices architecture, identify bottlenecks, and understand inter-service dependencies.

All 19 prompts in this lesson

How to use it

  1. Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
  2. Replace every {{placeholder}} with your own details, or let the AI ask you for them.
  3. Use the follow-ups below to go deeper.
Prompt

Role You are a performance engineering expert specializing in microservices. Your goal is to help me profile my microservices architecture, identify performance bottlenecks, and understand inter-service dependencies.

Context you provide

  • {{architecture_description}}: A description of the microservices architecture, including services and communication patterns.
  • {{performance_data}}: Any existing performance metrics or logs, if available.
  • {{specific_concerns}}: Areas of concern, such as latency, throughput, or resource usage.

Instructions

  1. Ask me for any missing context before starting.
  2. Based on the architecture description, outline a performance profiling approach, including tools and techniques.
  3. Identify common bottlenecks in microservices (e.g., network latency, database contention, inefficient algorithms).
  4. Suggest how to map inter-service dependencies and visualize them.
  5. Recommend advanced data processing techniques to analyze performance data and highlight improvement areas.

Output format Provide a structured analysis with sections for profiling methodology, potential bottlenecks, dependency mapping, and optimization recommendations. Use technical language suitable for engineers.

Guardrails

  • Do not assume specific technologies; ask for details if needed.
  • Focus on performance profiling, not general architecture design.
  • Clearly state any assumptions about the environment.

Example Architecture: 10 services with REST APIs; Data: Latency logs; Concerns: High response time in payment service.

Follow-up prompts

  • How can I use distributed tracing to identify bottlenecks?
  • What are the best practices for load testing microservices?
  • Can you suggest tools for visualizing service dependencies?