Core Infrastructure
graph TD
subgraph "Core System"
LB[Load Balancer] --> Web1[Web Server 01]
LB --> Web2[Web Server 02]
LB --> Web3[Web Server 03]
end
subgraph "Data Layer"
Web1 --> Cache[Redis Cluster]
Web2 --> Cache
Web3 --> Cache
Cache --> DB_Master[(Postgres Master)]
DB_Master --> DB_Slave1[(Postgres Replica 1)]
DB_Master --> DB_Slave2[(Postgres Replica 2)]
end
style LB fill:#f9f,stroke:#333,stroke-width:2px
style DB_Master fill:#bbf,stroke:#333,stroke-width:2px
style Cache fill:#ff9,stroke:#333,stroke-width:2px
API Report Flow
sequenceDiagram
participant User
participant UI as Client Application
participant API as Backend Service
User->>UI: Clicks "Generate Report"
UI->>API: POST /api/v1/reports/pdf
Note right of API: API processes data...
API-->>UI: Returns 200 OK (Report ID: 12345)
UI-->>User: Shows "Download Ready" Notification