Reported interview periodApr 2026–Sep 2026
Design a Long-Running Video Generation Platform
Design a service where users submit prompts for video generation. Jobs consume scarce accelerators, may run for minutes, can be cancelled, and must survive worker failure.
Practice focusRequirements - Define APIs for submit, status, progress streaming, cancel, retry, and result retrieval. - Queue and schedule jobs under per-user quotas, priorities, and accelerator constraints. - Use leases or heartbeats so abandoned work becomes recoverable. - Make retries safe, preserve checkpoints, and avoid publishing partial or duplicate results. - Store inputs and outputs securely with retention and content-safety controls. - Provide honest progress despite phases with uncertain duration.…