TOUGH TONGUE AI
  • Home
    LogoTOUGH TONGUE AI

    RESOURCES

    Loading...

    HomeLibrarySD Coach · The Data Layer

    SD Coach · The Data Layer

    SD Coach · The Data Layer

    Overview

    Which database, how many copies, how to split it, and what happens when the network breaks? In Nora's 3D lab you watch a replica fall behind and a primary fail over, tap to predict what a celebrity post does to a shard and how many keys move when a server joins, then see a hash ring and a split network answer those questions for you.

    Your Instructions

    Your goal: choose, replicate and shard a data store, and say what each step gives up.

    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.
    • One quick estimate goes on the notepad. Say your working aloud.
    • One multiple-choice check.

    Tips

    • Shard count = the larger of (writes ÷ writes per node) and (data ÷ data per node).
    • Read the module reading first: The Data Layer.
    • 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 · Unique IDs and the URL Shortener
    • 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) →