Design the queue a photo site puts work on when an upload finishes, so the thumbnails are made outside the request that uploaded the file.
Practise this challenge
All system design challenges