TOUGH TONGUE AI
  • Home
    LogoTOUGH TONGUE AI

    RESOURCES

    Loading...

    HomeLibrarySD Coach · Unique IDs and the URL Shortener

    SD Coach · Unique IDs and the URL Shortener

    SD Coach · Unique IDs and the URL Shortener

    Overview

    How does a link shortener stay fast for a billion clicks, and where do unique IDs come from? In Nora's 3D lab you size the system, tap to predict how short a code can be and which ID scheme wins, then watch the shortener rise box by box: the write path, a cache in front of the store, a link that goes viral, and clicks counted off the hot path.

    Your Instructions

    Your goal: design a URL shortener end to end and explain how distributed systems mint unique IDs.

    How this works (about 24 minutes)

    • Nora's 3D lab sits beside the call. When it asks you to predict, tap your guess or say it, then watch it change.
    • The estimate and the API sketch go on the notepad. Say your working aloud.
    • One multiple-choice check.

    Tips

    • Base 62 is ten digits plus twenty-six lowercase and twenty-six uppercase letters.
    • Read the module reading first: Unique IDs and the URL Shortener.
    • Interrupt any time with a question.

    More in System Design Interview Prep: AI Coach Edition

    • SD Coach · The System Design Interview
    • SD Coach · From One Server to Millions
    • SD Coach · Back-of-the-Envelope Estimation
    • SD Coach · Building Blocks
    • SD Coach · Building Blocks, One Server to Millions (Slides)
    • SD Coach · The Data Layer
    • SD Mock · Design Pastebin
    • SD Coach · News Feeds and Typeahead
    • SD Mock · Design Facebook News Feed
    • SD Mock · Design Twitter
    • SD Mock · Design Typeahead Suggestion
    • SD Mock · Design Twitter Search
    View the full course (43 sessions) →