Queues · Multiple choice

Users upload files that each need a thumbnail and a document preview. When should the upload request answer?

easy Storage

Options

Why

Rendering inside the request makes every upload pay for the slowest transformation, and a busy or failing worker pool then slows or fails uploads. Store the original, enqueue a job and answer; workers fill in the thumbnail a moment later. Answering before the bytes are stored can lose the file.

Review this in your daily deck All cards in Queues