Coding & Dev Prompt chainAdvanced
Scalable System Architecture & Trade-off Spec
Design a production architecture with data model, API contracts, scaling bottlenecks, and failure modes.
Act as a Solutions Architect. Design the technical architecture for: {{SYSTEM_DESCRIPTION}}.
Expected scale: {{TRAFFIC_AND_DATA_SCALE}}
Budget / team constraints: {{CONSTRAINTS}}
Include:
1. High-level component diagram (Mermaid `flowchart LR`).
2. Core database schema & indexing strategy.
3. Key API endpoints & async background jobs.
4. Top 3 failure modes and how we mitigate them (retries, idempotency, caching).Claude · ChatGPT · Gemini
