Design a service where someone pastes a block of text and gets back a link anyone can open. Editing and accounts are out of scope.
Requirements
- Save a block of text and return a link to it
- Open a link and see the text
- A paste can be set to expire
- Pastes are read far more often than they are written
Scale
- New pastes
- 1M per day
- Read:write ratio
- 10:1
- Average paste
- 10KB
- Retention
- up to 1 year
Draw the design on the board, fill in Your answer, then submit.