[ Ad Placement: Top Article Banner ]
Claude 3.5 System Architecture Prompt
The Meta-Prompting Approach
When asking an AI to design a system, if you are vague, it will give you generic boilerplate. You must establish a rigid persona and demand specific deliverables (like Mermaid.js diagrams and API schemas).
The Principal Architect Prompt
"You are a Principal Solutions Architect at an enterprise cloud company. I am building a scalable, real-time ticket booking system similar to Ticketmaster.
Your Deliverables:
- 1. A high-level system architecture explained in 3 paragraphs.
- 2. A Mermaid.js flowchart mapping the flow from the Client, to the API Gateway, to the Microservices, and the Databases.
- 3. A detailed explanation of how you will handle the 'Lost Update' problem (database locking) when 5,000 users try to buy the exact same concert seat simultaneously.
Use professional, highly technical terminology. Format your Mermaid code within proper markdown blocks so it can be rendered."
[ Ad Placement: Bottom Article Banner ]