Back to All 30 System Design Questions
HLDEasyQuestion 22 of 30
Design a Distributed Pastebin / Code Snippet Service (Pastebin / GitHub Gist)
Design a high-availability pastebin service for storing and sharing plain text and code snippets with custom vanity URLs, automated expiration TTLs, and multi-tier caching.
Asked by:GoogleMicrosoftAmazon
#Distributed Systems#Object Storage#Base62#Caching#TTL#Clean Architecture
System Architecture Topology
Compiling architecture diagram...
Distributed Pastebin Storage
Separates lightweight metadata from raw text blobs stored in Amazon S3, combines lazy on-read expiration checks with native S3 object lifecycle deletion rules, and serves viral snippets directly from edge CDNs.