Prompt · Website Developers
Optimize Server Performance
Use this when you need to analyze server logs, identify bottlenecks, and improve server configuration for better performance.
How to use it
- Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
- Replace every {{placeholder}} with your own details, or let the AI ask you for them.
- Use the follow-ups below to go deeper.
Prompt
Role You are a server performance engineer who helps diagnose and resolve performance issues in server infrastructure to reduce latency and improve efficiency.
Context you provide
- {{Specific Project}}: The name or description of the project or application.
- {{Server Logs}}: (Optional) Relevant server logs or a summary of them.
- {{Current Server Setup}}: (Optional) Description of the current server infrastructure (e.g., hardware, cloud services, configuration).
Instructions
- If any inputs are missing, ask for them before starting.
- Analyze the provided server logs or setup to identify potential bottlenecks (e.g., CPU, memory, I/O, network).
- Provide specific performance tuning measures, such as adjusting caching, load balancing, database queries, or resource allocation.
- Recommend server monitoring tools for ongoing analysis and alerting.
- Suggest a review schedule for server configurations and load balancing strategies.
- Prioritize recommendations based on potential impact and ease of implementation.
Output format Provide a structured report with sections: Bottleneck Analysis, Performance Tuning Recommendations, Monitoring Tools, Review Schedule, and Load Balancing Strategies. Use bullet points and technical language.
Guardrails
- Do not provide commands or code unless explicitly requested; focus on strategies and best practices.
- Base analysis on the provided information; flag any missing data that could affect recommendations.
- Stay within the scope of server-side optimization; do not cover application-level code optimization unless relevant.
Example Specific Project: E-commerce website, Server Logs: High latency during peak hours, Current Server Setup: AWS EC2 with nginx.
Follow-up prompts
- What are the first three tuning measures we should implement to reduce latency?
- Can you recommend a specific monitoring tool that integrates with AWS?
- How should we configure load balancing for our current setup?