SYSTEM-DESIGN
    intermediate

    Containers & Orchestration

    Software Engineer path · lesson 93 of 99
    Part A — Container vs. VM
    nginx
    + deps
    redis
    + deps
    node
    + deps
    Host OS (shared kernel)
    Physical Machine
    Containers
    ~50ms startup
    nginx
    + deps
    Guest OS
    redis
    + deps
    Guest OS
    node
    + deps
    Guest OS
    Hypervisor (virtualizes hardware)
    Physical Machine
    Virtual Machines
    ~30s startup
    Part B — Orchestration
    desired replicas: 5/running: 0
    Node 1
    no pods
    Node 2
    no pods
    Node 3
    no pods

    Container or VM?

    Sort

    Sort each trait into the isolation model it describes.

    Tap a piece, then tap where it goes — or drag it. Tap the tray to take one back.

    Container

    Drop items here

    Virtual machine

    Drop items here
    6 pieces left to place

    Test your knowledge

    20 questions
    Question 1 of 20
    Score: 0

    Why do containers use less memory and start faster than virtual machines?

    The short version

    A container is like a standardized shipping container — the same sealed box runs on any ship, truck, or crane without custom handling. An orchestrator is the freight dispatcher who reassigns containers to available trucks automatically when one truck breaks down.

    Interview Questions

    Google
    Amazon
    Microsoft
    Google
    Uber
    Google
    Amazon
    Netflix

    Love this visualization?

    Sign up to track your progress, earn achievements, use the AI assistant, and access your personal learning dashboard.

    100% free • No credit card required