Last active
November 27, 2018 19:59
-
-
Save mostlygeek/ddc3036518d98ef47a1b to your computer and use it in GitHub Desktop.
Interview Question - Build a Thumbnail Generator
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Describe how you would build this thumbnail web service: | |
- Accept a JPEG via an anonymous HTTP request from the client | |
- Create a scaled down, 25% thumbnail of it | |
- Return a text/plain response, with URLs to the original and thumbnail, i.e: | |
https://i.mozilla.org/abc123.original.jpeg | |
https://i.mozilla.org/abc123.thumb.jpeg | |
- Images (original + thumbnails) automatically deleted after 7 days | |
- Hosted in AWS or GCP | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment