Prompt Library › ⚙️ Technical › Design a Scalable System Architecture
GPT-4o ⚙️ Technical Advanced

Design a Scalable System Architecture

Describe your product requirements and get AI to design a production-ready system architecture — with components, data flow, failure modes, and trade-off analysis.

👁 5 views ⎘ 0 copies ♥ 0 likes

The Prompt

# Design a Scalable System Architecture

You are a principal engineer. Design a production-ready architecture for [SYSTEM_NAME] based on the following requirements.

## Product Requirements

- **Purpose:** [SYSTEM_PURPOSE]
- **Peak load:** [PEAK_RPS] requests/second
- **Data volume:** [DATA_VOLUME] records, growing at [GROWTH_RATE]/month
- **Availability target:** [UPTIME_TARGET]% uptime
- **Latency budget:** p99 response under [LATENCY_MS]ms

## Components to Design

1. **API layer** — how requests from [CLIENT_TYPE] reach the system
2. **Application layer** — service decomposition for [SERVICE_LIST]
3. **Data layer** — storage for [DATA_TYPES] with [READ_WRITE_RATIO] read/write ratio
4. **Async processing** — queue design for [ASYNC_WORKLOADS]
5. **Caching** — strategy for [HOT_DATA] using [CACHE_TOOL]

## Output

1. Component diagram in ASCII or Mermaid format
2. Technology choices with rationale for each
3. Top 3 failure modes and mitigation strategies
4. Estimated infrastructure cost at [SCALE_TARGET] active users

📝 Fill in the blanks

Replace these placeholders with your own content:

[SYSTEM_NAME]
[SYSTEM_PURPOSE]
[PEAK_RPS]
[DATA_VOLUME]
[GROWTH_RATE]
[UPTIME_TARGET]
[LATENCY_MS]
[CLIENT_TYPE]
[SERVICE_LIST]
[DATA_TYPES]
[READ_WRITE_RATIO]
[ASYNC_WORKLOADS]
[HOT_DATA]
[CACHE_TOOL]
[SCALE_TARGET]

How to use this prompt

1
Copy the prompt

Click "Copy Prompt" above to copy the full prompt text to your clipboard.

2
Replace the placeholders

Swap out anything in [BRACKETS] with your specific details.

3
Paste into GPT-4o

Open your preferred AI assistant and paste the prompt to get started.