System design interview question
"Design an image-generation service. A user types a prompt and gets images back. Generation takes ten to thirty seconds on a GPU, users often generate several variations, and results are shown in a gallery. A million users, and GPU capacity is the constraint."
long-running asynchronous jobs on scarce, expensive hardware, plus content safety for a medium where the output is the risk. It differs from a chat service in that generation is not streamable in the same way, the latency is long enough that the interaction model must change, and the output is an image whose safety must be assessed after it exists.
On Practick another engineer interviews you live for 60 minutes on a question from this bank. They have the full interviewer guide beside the call: the answers to your clarifying questions, the numbers to hand out, a ladder of follow-ups and a scoring rubric. You get the model solution once the session settles. It is free: interview someone for an hour and you have earned your own.
Book a free mock interviewAll 132 system design interview questions
System design mock interviews · DSA interview questions · Free mock interview practice · Browse interviewers · Sign in