Design a service that accepts an uploaded photo and serves it back in several sizes — a thumbnail, a medium, and the original.
Requirements
- Upload a photo from a browser or phone
- Get back a thumbnail and a medium size
- The upload request does not wait for resizing
- Images are served quickly afterwards
Scale
- Uploads
- 10M per day
- Average photo
- 3MB
- Sizes generated
- 2 per upload
- Reads
- many times each upload
Draw the design on the board, fill in Your answer, then submit.