Advanced
Open
Pro
Why This Product Can't Use Subject 2's Synchronous Pipeline
Part of the AI Engineer Interview path →
Part of the ML System Design Interview path →
Part of the Generative Vision & Image AI System Design path →
A new engineer, familiar with text-to-image-diffusion-models's
synchronous inference chain (prompt safety -> enhancement -> generation
-> harm detection -> super-resolution, completing in single-digit-to-
low-double-digit seconds), proposes reusing that same synchronous
request/response pattern for the headshot product: the user uploads
photos, and the API call returns finished headshots directly.
- Explain specifically why this doesn't work for this product, using concrete numbers.
- Describe the asynchronous pipeline this subject proposes instead, stage by stage.
- Which single stage in the async pipeline should stay synchronous, and why?
Share this question