Design Pastebin — System Design Interview Practice
Design a web service where users can store plain text and share it with others via a generated URL. Work through the requirements, architecture trade-offs, and an interactive design review.
Requirements and concepts to consider
- Allow users to paste text contentRequirement
- Generate unique URL for each pasteRequirement
- Support custom URLs/aliasesRequirement
- Set expiration time for pastesRequirement
- Support syntax highlighting for codeRequirement
- Track view countsRequirement
- Handle millions of pastes per dayRequirement
- web servicesConcept to explore
- storageConcept to explore
- cachingConcept to explore
- text storageConcept to explore