LOGBOOK

HELP

Quiz Entry - updated: 2026.12.01

What is the difference between a monolith and a microservices architecture, and how do containers fit in?

A monolith is one big application deployed as a unit; microservices split it into small independent services. Each container is one service.

Monolith Microservices
Structure All functions (UI, logic, data access) in one codebase and one process Many small services, each doing one job and talking over the network (HTTP, queues)
Deployment Any change means rebuilding and redeploying everything Each service is built, deployed and replaced independently, even while the rest keeps running
Scaling Scale the whole thing Scale only the busy service (run five web containers, one database)
Failure One bug can take everything down A failing service can be restarted on its own
Downside Grows hard to understand and maintain More moving parts: networking, service discovery, distributed debugging

Containers suit microservices naturally: one service per container, its dependencies packaged with it, started and replaced in seconds. Docker Compose (on one host) or Kubernetes (across many) then describes how the services fit together.

Monolith with UI, business logic and data access in one unit versus microservices, each in its own container with its own database

* One deployable unit versus independent services. *

Go deeper:

From Quiz: ISLAB / Docker Introduction | Updated: Dec 01, 2026