Predictable thumbnails belong in upload-time processing; arbitrary request-time dimensions turn every new size into another cache entry. TL;DR: for an auto-tagged media library with known search-result layouts, derive a bounded set of thumbnails from each original and retain that original for reprocessing. Choose request-time resizing when the required dimensions genuinely cannot be predicted, and make the accepted transformation space an explicit operating decision. The difference in cost is structural: a fixed derivation set per upload versus work and cache growth driven by requested variants.
For a tabletop production exercise, I'd start with a media search page showing uploaded photographs and contributor avatars, then ask what happens when a client starts requesting slightly different thumbnail widths. This is a hypothetical incident, not a report of an observed outage.…