LeetDezine
Pastebin
Initializing search
    • Home
    • Start Here
    • Concepts
    • Back of Envelope
    • Foundation
    • Ascent
    • Expedition
    • Summit
    • Battleground
    • Home
    • Start Here
    • Concepts
    • Back of Envelope
    • Foundation
    • Ascent
      • Notification System
      • Pastebin
        • System Requirements
        • Deep Dives
        • Observability
    • Expedition
    • Summit
    • Battleground
    1. Home
    2. Ascent
    3. Pastebin
    02

    Ascent · Case Study 2

    Pastebin

    Design pastebin.com — paste text, get a short link, retrieve content at scale. 10M DAU, expiring pastes, large content blobs.

    System Requirements
    Functional requirements, back-of-envelope estimation, NFRs, API design, and base architecture.
    FREstimationNFRAPIBase Architecture
    Open →
    Deep Dives
    Short code generation, database, caching, peak traffic, fault isolation, async S3 upload, expiry cleanup, and final architecture.
    Short Code GenCASCachingAsync S3TTL Cleanup
    Open →
    Observability
    SLIs and SLOs for a paste service, latency measurement, availability tracking, alerting, and error budgets.
    SLI / SLOAlertingError Budget
    Open →