TOUGH TONGUE AI
  • Home
    LogoTOUGH TONGUE AI

    RESOURCES

    Loading...

    HomeLibrarySD Coach · Real-Time Chat and Collaboration

    SD Coach · Real-Time Chat and Collaboration

    SD Coach · Real-Time Chat and Collaboration

    Overview

    How does a message reach a phone in a fraction of a second, or wait safely while the phone is off? In Nora's 3D lab you size a chat system, tap to predict what polling costs, where an offline message goes and what breaks when a server dies, sketch the message table, and finish by merging two people typing into one sentence.

    Your Instructions

    Your goal: design a real-time chat system end to end and explain how shared documents merge concurrent edits.

    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 sizing and the message table go on the notepad. Say your working aloud.
    • One multiple-choice check.

    Tips

    • Think about connections as well as messages: every online phone holds one open.
    • Read the module reading first: Real-Time Systems: Chat, Presence and Live Collaboration.
    • Interrupt any time with a question.

    More in System Design Interview Prep: AI Coach Edition

    • SD Mock · Design a Key-Value Store
    • SD Coach · File Sync: Dropbox and Google Drive
    • SD Mock · Design Dropbox
    • SD Coach · Transactional Systems
    • SD Mock · Design Ticketmaster
    • SD Coach · Batch and Stream Pipelines
    • SD Mock · Design Facebook Messenger
    • SD Mock · Design Uber Backend
    • SD Mock · Design Yelp / Nearby Friends
    • SD Coach · Media Streaming
    • SD Mock · Design YouTube / Netflix
    • SD Mock · Design Instagram
    View the full course (43 sessions) →