Loading page…
One strong interview answer to "design Pastebin": tiny traffic but terabytes of blobs, metadata in PostgreSQL and content in S3, random 8-character IDs with insert-if-absent, the CDN for immutable pastes, and expiry made exact by a read-time check, capped TTLs, a sweeper and purges.
Paste some text, get a short link, share it.