SYSTEM-DESIGN
    intermediate

    Microservices vs Monolith

    Software Engineer path · lesson 92 of 99

    Architecture Comparison

    Select a mode, then try Deploy or Kill a service.

    Monolith
    Running
    Monolith Application (single deployable unit)
    Auth
    Orders
    Payments
    Inventory
    Notifications
    Shared Database (all modules read/write)

    One process, one deployment, one shared database.

    Monolith
    • + Simple to develop & deploy early on
    • + No network hops between modules
    • - One failing module crashes everything
    • - Must redeploy all to change one part
    Microservices
    • + Independent deploy & scale per service
    • + Fault isolation — one crash doesn't spread
    • - Network latency on every cross-service call
    • - Higher operational overhead to run & monitor

    Monolith or microservices?

    Sort

    Sort each trait into the architecture it describes.

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

    Monolith

    Drop items here

    Microservices

    Drop items here
    6 pieces left to place

    Test your knowledge

    20 questions
    Question 1 of 20
    Score: 0

    In a monolithic architecture, a critical bug is introduced in the Notifications module. Which best describes the likely impact at runtime?

    The short version

    A monolith is like a giant apartment building where all units share one plumbing system — fixing a pipe means shutting off water for every tenant. Microservices are like a row of independent townhouses, each with its own utilities, so one plumber working on unit 3 doesn't affect unit 7.

    Interview Questions

    Netflix
    Amazon
    Google
    Meta
    Stripe
    Amazon
    Shopify
    Uber

    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