Enqueue
After upload, do not keep the page waiting. Enqueue the transcoding task, return a task ID, and let me check its status later.
After upload, do not keep the page waiting. Enqueue the transcoding task, return a task ID, and let me check its status later.
The user cannot tell whether work continues.
Avoid blocking the request: If the upload request performs transcoding directly, the user waits and a processing failure can look like an upload failure. Enqueueing accepts the task and returns its ID first.
Bring status back: A later processor updates queued, processing, completed, or failed state. The page looks up those results with the task ID; failures can be retried or reported under the system rules.
Improvement is observable: The upload request finishes sooner, status changes are visible, and failures are tied to a task. Enqueueing still does not promise FIFO order or exactly-once processing.
Enqueue the transcoding task after upload and return a trackable task ID immediately. Show queued, processing, completed, and failed states. Verify that the task enters the queue, failures reach status lookup, and enqueue success is not shown as transcoding completion.