TOUGH TONGUE AI
  • Home
    LogoTOUGH TONGUE AI

    RESOURCES

    Loading...

    HomeLibrarySD Coach · News Feeds and Typeahead

    SD Coach · News Feeds and Typeahead

    SD Coach · News Feeds and Typeahead

    Overview

    Should a feed be built when someone posts or when someone opens the app? In Nora's 3D lab you watch both designs run, tap to predict what a celebrity's post breaks, and land on the hybrid real products use. Then you build search suggestions that answer every keystroke in milliseconds, from a trie that is rebuilt offline and swapped in.

    Your Instructions

    Your goal: design a news feed and a typeahead service, and defend the push, pull or hybrid choice with numbers.

    How this works (about 25 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 feed estimate goes on the notepad. Say your working aloud.
    • One multiple-choice check.

    Tips

    • There are 86,400 seconds in a day; round it to about a hundred thousand for speed.
    • Read the module reading first: News Feeds and Typeahead.
    • Interrupt any time with a question.

    More in System Design Interview Prep: AI Coach Edition

    • 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 Coach · Unique IDs and the URL Shortener
    • SD Mock · Design Pastebin
    • SD Mock · Design Facebook News Feed
    • SD Mock · Design Twitter
    • SD Mock · Design Typeahead Suggestion
    • SD Mock · Design Twitter Search
    • SD Coach · Rate Limiting
    • SD Mock · Design an API Rate Limiter
    View the full course (43 sessions) →