System Design Classic
Pastebin is a text-sharing service where users paste content and receive a unique short URL for sharing. Despite its simplicity, it covers fundamental system design concepts: unique key generation, read-heavy traffic patterns (5:1 read/write), content storage strategies (inline for small pastes, object storage for large ones), and TTL-based expiration. Perfect for developers building lightweight text-sharing tools that need fast key-value lookups, auto-expiry, and syntax highlighting.
Share this architecture with your network
Small pastes (< 256KB) are stored inline in OCI NoSQL Database for fast access. Large pastes go to Object Storage with NoSQL storing the pointer. OCI Cache handles the hot-path for recently created and popular pastes. NoSQL Database TTL automatically cleans up expired pastes without a separate cleanup job. OCI Functions handles both read and write paths with automatic scaling.
Rate Limiter System
System Design Classic
Multi-Tenant SaaS Platform
Generic SaaS
Data Lake & Analytics Platform
Modern Data Stack
YouTube Video Streaming System
YouTube / Google
Notification System
System Design Classic
Dropbox File Storage System
Dropbox
Pastebin System
Remix this architecture in Canvas