Pastebin System Design

Step 1 of 11 Architectural Trade-offs & Specs
CDN Edge Cache
KeyContent PreviewStatus
Client Browser
New Paste Content User: usr_42
Load Balancer & API GW
Strategy: Least Connections
Rate Limiter: Sliding Window Log
Ip limit tokens:
Key Generation Service (KGS)
Unused Pre-Generated Keys Buffer:
DB Standby Pool size: 9,842,104 keys
API Application Server
Worker Pool status: Healthy
Active operation: IDLE
In-Memory Cache (Metadata)
[No cached headers]
Amazon S3 Object Store
Bucket /pastes/*:
Metadata DB (SQL RDBMS)
KeyS3 URLExpirationUser
Expiration Cleaner
Cleaner daemon loaded.
Educational Notes:

Component Inspector