forked from mtusi2026/mtusi2026lab5
657 B
657 B
Durable image pipeline
flowchart LR
C[Client] --> H[HAProxy]
H --> A[API x2]
A --> S[Private S3 staging]
A --> P[(PostgreSQL attachment + job + outbox)]
P --> D[Dispatcher and lease recovery]
D --> B[(Valkey Streams AOF)]
B --> W[Worker concurrency 1]
W --> R[Bounded renderer subprocess]
W --> F[S3 originals + variants / version]
W --> P
K[Periodic cleanup] --> S
202 follows durable staging and PostgreSQL COMMIT. Publish can repeat; worker effects use versioned keys and a fenced transaction. ACK follows durable result/retry. Details, limits, reproducible commands and failure evidence: REPORT.md.