Design an image hosting service (like Imgur)
medium 50 minUpload a picture, get a link at once, and let the whole world look at it.
Where it shows up
The same pattern appears across everyday software.
Forum pictures
A service like Imgur grew with forums that showed links but did not keep images. Most views then come from pages the host does not control.
Smaller formats
Google reports lossy WebP files 25 to 34% smaller than comparable JPEG files at the same measured quality.
Resumable uploads
The tus protocol lets a client ask how many bytes arrived (`Upload-Offset`) and continue from there.
Shield in a CDN
CloudFront's Origin Shield gathers requests for the same object, so as few as one goes to the origin.
Cheap storage has rules
S3 Standard-IA bills objects under 128 KB as 128 KB, and Intelligent-Tiering does not move such small objects at all.
Takedown law
In the United States a host that gets a valid copyright notice must act expeditiously; a counter notice can bring the picture back after 10 to 14 business days.