Architecture Review
Evaluate your system design for potential bottlenecks, security flaws, and scalability issues before you write a single line of code.
Use Case
Crucial for Lead Developers and Architects during the planning phase of a new feature or service.
The Prompt
I want you to act as a Principal Software Architect. Review the following proposed system design.
The Problem: [What are you trying to solve?]
The Proposed Solution: [List of services, databases, and communication protocols]
Expected Load: [e.g., 10k RPM, 1TB data/month]
Please provide:
1. **Bottleneck Identification**: Where will this system fail first under load?
2. **Scalability Suggestions**: How can we make this horizontally scalable?
3. **Security Audit**: List 3 potential security risks in this design.
4. **Tech Stack Check**: Is this the most efficient tool for the job? Why or why not? Tips for Success
- Be Honest: Include known constraints (budget, team skill level) so the advice is practical.
- Compare: Ask for 2 alternative architectures with a pros/cons table.