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.
URL Shortener System
System Design Classic
High-throughput URL shortening service with analytics, custom aliases, and 301/302 redirect handling at scale.
Rate Limiter System
System Design Classic
Distributed rate limiting on Azure with token bucket, sliding window, and fixed window algorithms using Redis Cache for API protection.
Multi-Tenant SaaS Platform
Generic SaaS
Production-ready multi-tenant SaaS with tenant isolation, feature flags, usage metering, and self-serve onboarding.
Data Lake & Analytics Platform
Modern Data Stack
Cloud-native data lake with streaming ingestion, batch ETL, query engine, and BI dashboards. Handles petabyte-scale analytics.
YouTube Video Streaming System
YouTube / Google
Video upload, transcoding, and adaptive bitrate streaming on GCP handling 500+ hours of video uploaded per minute.
Notification System
System Design Classic
Multi-channel notification system on Azure supporting push, email, SMS, and in-app notifications with Event Grid fan-out.
Pastebin System
Remix this architecture in Canvas