Design: a photo-sharing interview
The core idea
A photo-sharing service has two connected jobs: publish an author's image and help other people discover it.
The image bytes, post metadata and follower feed have different storage and delivery needs.
In this lesson
- Agree on the product before drawing the services
- Estimate bytes and work separately
- Separate the owners, then connect them
- Follow an upload through publication
- Make the API expose the right state
- Assemble a feed without copying every photo
- Continue the same order while rechecking visibility
- Check the image request, even when its bytes are warm
- Run the publication and privacy experiment
Continue reading
Pro unlocks video lessons, visual walkthroughs, full notes, diagrams, case studies, and implementations across the System Design archive.